mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
killrefresh for lists iscroll
This commit is contained in:
23
js/list.js
23
js/list.js
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user