You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
nice
This commit is contained in:
@@ -339,6 +339,7 @@
|
||||
}
|
||||
const ul = document.getElementById("playlist-ul");
|
||||
Array.from(ul.children).forEach(c => c.classList.remove("selected"));
|
||||
Array.from(document.getElementById("dirs-box").children).forEach(c => c.classList.remove("selected"));
|
||||
el.classList.add("selected");
|
||||
selectedPlaylistIndex = i;
|
||||
updateControls()
|
||||
@@ -371,6 +372,7 @@
|
||||
return;
|
||||
}
|
||||
Array.from(dirsBox.children).forEach(c=>c.classList.remove("selected"));
|
||||
Array.from(document.getElementById("playlist-ul").children).forEach(c => c.classList.remove("selected"));
|
||||
node.classList.add("selected");
|
||||
selectedDir = null;
|
||||
selectedSubFile = null;
|
||||
@@ -393,6 +395,7 @@
|
||||
return;
|
||||
}
|
||||
Array.from(document.getElementById("dirs-box").children).forEach(c => c.classList.remove("selected"));
|
||||
Array.from(document.getElementById("playlist-ul").children).forEach(c => c.classList.remove("selected"));
|
||||
node.classList.add("selected");
|
||||
selectedDir = name;
|
||||
selectedSubFile = null;
|
||||
|
||||
Reference in New Issue
Block a user