mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
iScroll completely gone
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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,30 +82,9 @@ 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");
|
||||||
$("#wrapper").css("opacity", "1");
|
$("#wrapper").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())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user