Update '12/liveplayer.js'

master
murtaugh 5 years ago
parent 2b6baac6d7
commit f79eabcabb

@ -14,7 +14,7 @@ function liveplayer (elt) {
if (old_nowplaying) { if (old_nowplaying) {
old_nowplaying.classList.remove("now_playing"); old_nowplaying.classList.remove("now_playing");
} }
var nowplaying = elt.querySelector(d.title); var nowplaying = elt.querySelector("#"+d.title);
if (nowplaying) { if (nowplaying) {
console.log("liveplayer: nowplaying", nowplaying); console.log("liveplayer: nowplaying", nowplaying);
nowplaying.classList.add("now_playing"); nowplaying.classList.add("now_playing");

Loading…
Cancel
Save