diff --git a/modules/web.html b/modules/web.html index 8628008..338d965 100644 --- a/modules/web.html +++ b/modules/web.html @@ -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; }