Fixed lazyload on mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2015-07-03 17:25:30 +02:00
parent 42f7f3dfb1
commit 39ec9feacf
2 changed files with 3 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -107,10 +107,8 @@ var List = {
}
});
$(".list-image").lazyload({
container: $("#wrapper")
}).removeClass("lazy");
if(window.mobilecheck()) $(".list-image").lazyload({});
else $(".list-image").lazyload({container: $("#wrapper")});
$("#settings").css("visibility", "visible");
$("#settings").css("opacity", "1");
$("#wrapper").css("opacity", "1");