0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

also check len of put

This commit is contained in:
2025-12-14 11:41:21 +01:00
parent fad61d2eeb
commit 731b1b37c6

View File

@@ -284,7 +284,7 @@
li.classList.add("current");
currentIndex = i;
}
if(currentIndex+1 === i && skipNext) {
if(currentIndex+1 === i && skipNext && putQueue.length === 0) {
li.style.textDecoration = "line-through";
}
ul.appendChild(li);