fix the skip count to render thing

This commit is contained in:
2026-05-21 20:58:40 +02:00
parent b302922586
commit 5d5a70ec25
+4
View File
@@ -204,6 +204,10 @@ function renderPlaylist() {
} else if (i === currentTrackIndex) {
li.classList.add("pointer");
currentIndex = i - 1;
if(skipCountToRender > 0) {
li.style.textDecoration = "line-through";
skipCountToRender--;
}
}
if (skipCountToRender > 0 && i > currentTrackIndex) {