Fixed bug where scrollbar showed up in playlist on mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-27 12:08:20 +01:00
parent 92036bec43
commit 988df71adb
3 changed files with 15 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ var Player = {
document.getElementById('song-title').innerHTML = "Empty channel. Add some songs!";
$("#player_overlay").height($("#player").height());
if(!/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) $("#player_overlay").toggleClass("hide");
if(!window.MSStream) $("#player_overlay").toggleClass("hide");
try{
Player.ytplayer.stopVideo();
}catch(e){}