mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Forgot to refresh scrolling element..
This commit is contained in:
@@ -95,8 +95,7 @@ function populate_list(msg, conf_only)
|
||||
myScroll.maxScrollY = myScroll.maxScrollY - 5;
|
||||
}else
|
||||
{
|
||||
myScroll.refresh();
|
||||
myScroll.maxScrollY = myScroll.maxScrollY - 5; //Hackish solution for not being able to scroll fully to the bottom, don't understand why this is fucked
|
||||
refresh_scroll();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -123,6 +122,12 @@ function skip(){
|
||||
socket.emit('skip', [chan, guid]);
|
||||
}
|
||||
|
||||
function refresh_scroll()
|
||||
{
|
||||
myScroll.refresh();
|
||||
myScroll.maxScrollY = myScroll.maxScrollY - 5;
|
||||
}
|
||||
|
||||
function show(){
|
||||
if(!window.mobilecheck())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user