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; | ||||
|     } | ||||
|  | ||||
|     .small-display-hide { | ||||
|         display: none !important; | ||||
|     } | ||||
|  | ||||
|     .hide-on-small-only{ | ||||
|         display:none; | ||||
|     } | ||||
|   | ||||
| @@ -748,6 +748,7 @@ var Player = { | ||||
|                 if(gotten_np) gotten_np = false; | ||||
|                 if(window.location.pathname != "/") Playercontrols.play_pause_show(); | ||||
|                 mobile_beginning = true; | ||||
|                 Helper.addClass("#player_overlay", "small-display-hide"); | ||||
|             } | ||||
|             Helper.removeClass("#play", "hide"); | ||||
|             Helper.addClass("#pause", "hide"); | ||||
| @@ -799,7 +800,7 @@ var Player = { | ||||
|                 resizePlaylistPlaying(scPlaying); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         Helper.removeClass("#player_overlay", "small-display-hide"); | ||||
|         Helper.css("#playpause", "visibility", "visible"); | ||||
|         Helper.css("#playpause", "pointer-events", "all"); | ||||
|         playing = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user