Fixed String instead of str error in server, and empty channel bug

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-27 02:58:38 +02:00
parent f23d40d629
commit cbcdfdbc41
3 changed files with 5 additions and 3 deletions

View File

@@ -9,7 +9,9 @@ var Youtube = {
document.getElementById('song-title').innerHTML = "Empty channel. Add some songs!";
$("#player_overlay").height($("#player").height());
if(!window.mobilecheck()) $("#player_overlay").toggleClass("hide");
if(ytplayer !== undefined) ytplayer.stopVideo();
try{
ytplayer.stopVideo();
}catch(e){}
//List.importOldList(channel.toLowerCase());
}
else{