You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
oh
This commit is contained in:
@@ -282,8 +282,8 @@
|
|||||||
li.addEventListener("click", () => { selectPlaylistItem(i, li); });
|
li.addEventListener("click", () => { selectPlaylistItem(i, li); });
|
||||||
|
|
||||||
const p = li.dataset.path;
|
const p = li.dataset.path;
|
||||||
if(p && currentTrackPath.includes(p) && i === currentTrackIndex){
|
|
||||||
console.log(currentTrackPath, p, currentTrackIndex)
|
console.log(currentTrackPath, p, currentTrackIndex)
|
||||||
|
if(p && currentTrackPath.includes(p) && i === currentTrackIndex){
|
||||||
li.classList.add("current");
|
li.classList.add("current");
|
||||||
currentIndex = i;
|
currentIndex = i;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user