Removed lazyload completely, and updated embedding

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-17 16:31:26 +01:00
parent 8c218d1086
commit b44ef845db
6 changed files with 28 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ var List = {
$(".prev_page_hide").css("display","inline-block");
}
if(lazy_load){
/*if(lazy_load){
if(Helper.mobilecheck()) $(".list-image").lazyload({});
else{
$(".list-image").lazyload({container: $("#wrapper")}).removeClass("lazy");
@@ -99,7 +99,7 @@ var List = {
document.getElementById('wrapper').scrollTop += 1;
document.getElementById('wrapper').scrollTop += -1;
}
}
}*/
}else{
List.empty = true;
$("#wrapper").append("<span id='empty-channel-message'>The playlist is empty.</span>");