mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed background bug on desktop
This commit is contained in:
@@ -351,7 +351,7 @@ function onPlayerReady(event) {
|
||||
}
|
||||
|
||||
function setBGimage(id){
|
||||
if(window.mozInnerScreenX === null && !window.mobilecheck()){
|
||||
if(window.mozInnerScreenX == null && !window.mobilecheck()){
|
||||
$("#bgimage").css("background-image", "url(http://img.youtube.com/vi/"+id+"/0.jpg)");
|
||||
}else if(window.mobilecheck()){
|
||||
$("#mobile-banner").css("background-image", "url(http://img.youtube.com/vi/"+id+"/hqdefault.jpg)");
|
||||
|
||||
Reference in New Issue
Block a user