play/pause fixed; mark current song in queue

This commit is contained in:
XenGi 2024-02-25 21:48:18 +01:00
parent 671bcd300f
commit fbd482d876
Signed by: xengi
SSH key fingerprint: SHA256:FGp51kRvGOcWnTHiOI39ImwVO4A3fpvR30nPX3LpV7g
3 changed files with 18 additions and 19 deletions

View file

@ -233,6 +233,7 @@ for (let i = 1; i <= 100; i++) {
const tr = document.createElement("tr");
if (i === 1) {
tr.classList.add("playing");
tr.dataset.song_id = i;
}
const pos = document.createElement("td");
pos.innerText = i.toString();