New release

This commit is contained in:
Nicolas A. Tonne
2014-10-09 21:21:21 +02:00
parent 5c75171af2
commit f98415c5b1
12 changed files with 209 additions and 139 deletions

29
list.js
View File

@@ -38,21 +38,24 @@ function updateList()
});
if($("#playlist").height() > $("#player").height())
{
if(!window.mobilecheck()){ $("#playlist").css({height: $("#player").height() - $("#buttons").height()-4});}
if(scroller == false)
if(!window.mobilecheck())
{
myScroll = new IScroll('#playlist', {
mouseWheel: true,
scrollbars: false,
scrollY: true,
interactiveScrollbars: false
});
scroller = true;
}else
{
myScroll.refresh();
$("#playlist").css({height: $("#player").height() - $("#buttons").height()-4});
$("#playlist").css({overflow: "hidden"});
if(scroller == false)
{
myScroll = new IScroll('#playlist', {
mouseWheel: true,
scrollbars: false,
scrollY: true,
interactiveScrollbars: false
});
scroller = true;
}else
{
myScroll.refresh();
}
}
}
if(window.mobilecheck())
{