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) {
|
||||
if (title === "") {
|
||||
$('#playingDiv').hide();
|
||||
$('#playing').hide();
|
||||
$('#playinglink').hide();
|
||||
document.title = "Movie Night"
|
||||
return;
|
||||
}
|
||||
|
||||
$('#playingDiv').show();
|
||||
$('#playing').show();
|
||||
$('#playing').text(title);
|
||||
document.title = "Movie Night | " + title
|
||||
|
||||
@ -124,4 +125,4 @@ function chatOnload() {
|
||||
evt.preventDefault();
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user