lol minified

This commit is contained in:
kasperrt
2014-12-30 06:24:08 +01:00
parent 050ba91e14
commit fd2035ce31
3 changed files with 6 additions and 2 deletions

View File

@@ -349,11 +349,13 @@ function onPlayerReady(event) {
}
function setBGimage(id){
console.log("change background");
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)");
$("#mobile-banner").css("width",$(window).width());
console.log("on mobile");
}
}