mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 15:29:14 +02:00
not that simple
This commit is contained in:
+4
-1
@@ -227,7 +227,10 @@ function renderQueue() {
|
||||
ul.innerHTML = "";
|
||||
queue.forEach(path => {
|
||||
const li = document.createElement("li");
|
||||
li.textContent = path.replace(basePath, "").replace("!", "(unofficial) ").slice(1);
|
||||
var c = path.replace(basePath, "");
|
||||
if(c.startsWith("!")) c = "(unofficial) " + c.slice(2)
|
||||
else c = "(official) " + c.slice(1)
|
||||
li.textContent = c;
|
||||
if (skipCountToRender > 0) {
|
||||
li.style.textDecoration = "line-through";
|
||||
skipCountToRender--;
|
||||
|
||||
Reference in New Issue
Block a user