Trying all on one page, hereby enabling webapps from mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2016-04-12 14:42:41 +02:00
parent 3d0ff98a4f
commit 39e8b8b6d8
8 changed files with 2916 additions and 70 deletions

View File

@@ -33,7 +33,7 @@ var List = {
populate_list: function(msg)
{
if(list_html == undefined) list_html = $("#list-song-html").html();
full_playlist = msg;
List.sortList();
@@ -49,7 +49,12 @@ var List = {
if(lazy_load){
if(window.mobilecheck()) $(".list-image").lazyload({});
else $(".list-image").lazyload({container: $("#wrapper")}).removeClass("lazy");
else{
$(".list-image").lazyload({container: $("#wrapper")}).removeClass("lazy");
document.getElementById('wrapper').scrollTop += 1;
document.getElementById('wrapper').scrollTop += -1;
}
}
}else{
List.empty = true;