diff --git a/static/css/style.css b/static/css/style.css index 51ac1a01..485757a1 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -714,7 +714,7 @@ ul #chat-log{ height: 100%; width: 113%; overflow: auto; - padding-right: 7vh; + padding-right: 5vh; opacity: 1; } diff --git a/static/js/list.js b/static/js/list.js index ef2c2f16..6824979f 100755 --- a/static/js/list.js +++ b/static/js/list.js @@ -1,8 +1,6 @@ var list; var toSend = ""; var sendURL; -var myScroll; -var scroller = false; var showToggle =true; var chan = $("#chan").html(); var list_html = $("#list-song-html").html(); @@ -84,30 +82,9 @@ function populate_list(msg, conf_only) { player_name = "#jplayer"; }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("opacity", "1"); $("#wrapper").css("opacity", "1"); @@ -150,15 +127,6 @@ function importOldList(chan){ document.getElementById("search").value = ""; } -function refresh_scroll() -{ - /*if(myScroll !== undefined) - { - myScroll.refresh(); - myScroll.maxScrollY = myScroll.maxScrollY - 5; - }*/ -} - function show(){ if(!window.mobilecheck()) {