mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fixed bug where scrollbar showed up in playlist on mobile
This commit is contained in:
@@ -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){}
|
||||
|
||||
Reference in New Issue
Block a user