mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 07:09:15 +02:00
fix the skip count to render thing
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user