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

minus one

This commit is contained in:
2025-12-14 21:00:26 +01:00
parent f99c471df3
commit eb0ecfdcea

View File

@@ -288,7 +288,7 @@
currentIndex = i; currentIndex = i;
} else if (i === currentTrackIndex) { } else if (i === currentTrackIndex) {
li.classList.add("pointer"); li.classList.add("pointer");
currentIndex = i; currentIndex = i - 1;
} }
if(currentIndex && (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";