Fix setPlaying() not clearing
Some div's were moved and renamed, but this function wasn't updated.
This commit is contained in:
parent
4025622415
commit
447768f8dc
@ -13,12 +13,13 @@ function initPlayer() {
|
|||||||
|
|
||||||
function setPlaying(title, link) {
|
function setPlaying(title, link) {
|
||||||
if (title === "") {
|
if (title === "") {
|
||||||
$('#playingDiv').hide();
|
$('#playing').hide();
|
||||||
|
$('#playinglink').hide();
|
||||||
document.title = "Movie Night"
|
document.title = "Movie Night"
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#playingDiv').show();
|
$('#playing').show();
|
||||||
$('#playing').text(title);
|
$('#playing').text(title);
|
||||||
document.title = "Movie Night | " + title
|
document.title = "Movie Night | " + title
|
||||||
|
|
||||||
@ -124,4 +125,4 @@ function chatOnload() {
|
|||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user