mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issue with soundcloud player not hiding on small device on pausing
This commit is contained in:
@@ -3207,6 +3207,10 @@ nav ul li:hover, nav ul li.active {
|
|||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.small-display-hide {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.hide-on-small-only{
|
.hide-on-small-only{
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -748,6 +748,7 @@ var Player = {
|
|||||||
if(gotten_np) gotten_np = false;
|
if(gotten_np) gotten_np = false;
|
||||||
if(window.location.pathname != "/") Playercontrols.play_pause_show();
|
if(window.location.pathname != "/") Playercontrols.play_pause_show();
|
||||||
mobile_beginning = true;
|
mobile_beginning = true;
|
||||||
|
Helper.addClass("#player_overlay", "small-display-hide");
|
||||||
}
|
}
|
||||||
Helper.removeClass("#play", "hide");
|
Helper.removeClass("#play", "hide");
|
||||||
Helper.addClass("#pause", "hide");
|
Helper.addClass("#pause", "hide");
|
||||||
@@ -799,7 +800,7 @@ var Player = {
|
|||||||
resizePlaylistPlaying(scPlaying);
|
resizePlaylistPlaying(scPlaying);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Helper.removeClass("#player_overlay", "small-display-hide");
|
||||||
Helper.css("#playpause", "visibility", "visible");
|
Helper.css("#playpause", "visibility", "visible");
|
||||||
Helper.css("#playpause", "pointer-events", "all");
|
Helper.css("#playpause", "pointer-events", "all");
|
||||||
playing = true;
|
playing = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user