You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
i hate javascript
This commit is contained in:
@@ -285,9 +285,8 @@
|
|||||||
li.classList.add("current");
|
li.classList.add("current");
|
||||||
currentIndex = i;
|
currentIndex = i;
|
||||||
}
|
}
|
||||||
if(currentIndex+1 === i && skipNext && putQueue.length === 0) {
|
if(currentIndex && (currentIndex+1 === i) && skipNext && (putQueue.length === 0)) {
|
||||||
li.style.textDecoration = "line-through";
|
li.style.textDecoration = "line-through";
|
||||||
console.log(i, currentIndex, li.textContent)
|
|
||||||
}
|
}
|
||||||
ul.appendChild(li);
|
ul.appendChild(li);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user