mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-30 15:59:16 +02:00
fix the skip count to render thing
This commit is contained in:
@@ -204,6 +204,10 @@ function renderPlaylist() {
|
|||||||
} else if (i === currentTrackIndex) {
|
} else if (i === currentTrackIndex) {
|
||||||
li.classList.add("pointer");
|
li.classList.add("pointer");
|
||||||
currentIndex = i - 1;
|
currentIndex = i - 1;
|
||||||
|
if(skipCountToRender > 0) {
|
||||||
|
li.style.textDecoration = "line-through";
|
||||||
|
skipCountToRender--;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skipCountToRender > 0 && i > currentTrackIndex) {
|
if (skipCountToRender > 0 && i > currentTrackIndex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user