0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 13:52:00 +01:00
This commit is contained in:
2025-12-14 20:53:47 +01:00
parent fd3359fa5e
commit de6c0dc9fa

View File

@@ -282,8 +282,8 @@
li.addEventListener("click", () => { selectPlaylistItem(i, li); });
const p = li.dataset.path;
console.log(currentTrackPath, p, currentTrackIndex)
if(p && currentTrackPath.includes(p) && i === currentTrackIndex){
console.log(currentTrackPath, p, currentTrackIndex)
li.classList.add("current");
currentIndex = i;
}