killrefresh for lists iscroll

This commit is contained in:
KasperRT
2014-10-20 02:26:48 +02:00
parent 33919fe373
commit 091dd2f916

View File

@@ -111,4 +111,25 @@ function show(){
$("#chan").removeClass("bigChan");
$("#chan").html(chan);
}
}
}
function ks()
{
list = $.ajax({ type: "GET",
url: "php/change.php",
async: false
}).responseText;
list = $.parseJSON(list);
myScroll.destroy();
myScroll = null;
$("#playlist").css({height: $("#player").height()});
$("#playlist").css({overflow: "hidden"});
myScroll = new IScroll('#playlist', {
mouseWheel: true,
scrollbars: false,
scrollY: true,
interactiveScrollbars: false
});
scroller = true;
}