iScroll completely gone

This commit is contained in:
Kasper Rynning-Tønnesen
2015-05-22 15:57:23 +02:00
parent 3c4f255800
commit b674036667
2 changed files with 2 additions and 34 deletions

View File

@@ -714,7 +714,7 @@ ul #chat-log{
height: 100%; height: 100%;
width: 113%; width: 113%;
overflow: auto; overflow: auto;
padding-right: 7vh; padding-right: 5vh;
opacity: 1; opacity: 1;
} }

View File

@@ -1,8 +1,6 @@
var list; var list;
var toSend = ""; var toSend = "";
var sendURL; var sendURL;
var myScroll;
var scroller = false;
var showToggle =true; var showToggle =true;
var chan = $("#chan").html(); var chan = $("#chan").html();
var list_html = $("#list-song-html").html(); var list_html = $("#list-song-html").html();
@@ -84,29 +82,8 @@ function populate_list(msg, conf_only)
{ {
player_name = "#jplayer"; player_name = "#jplayer";
}else player_name = "#player"; }else player_name = "#player";
if(scroller === false)
{
/*myScroll = new IScroll('#playlist', {
mouseWheel: true,
scrollY: true,
});
scroller = true;
myScroll.maxScrollY = myScroll.maxScrollY - 5;*/
}else
{
refresh_scroll();
} }
} }
}
if(window.mobilecheck())
{
//document.getElementById("player").style.display="none";
//ytplayer.pauseVideo();
}else{
//myScroll.refresh();
//myScroll.maxScrollY = myScroll.maxScrollY - 5;
}
$("#settings").css("visibility", "visible"); $("#settings").css("visibility", "visible");
$("#settings").css("opacity", "1"); $("#settings").css("opacity", "1");
@@ -150,15 +127,6 @@ function importOldList(chan){
document.getElementById("search").value = ""; document.getElementById("search").value = "";
} }
function refresh_scroll()
{
/*if(myScroll !== undefined)
{
myScroll.refresh();
myScroll.maxScrollY = myScroll.maxScrollY - 5;
}*/
}
function show(){ function show(){
if(!window.mobilecheck()) if(!window.mobilecheck())
{ {