diff --git a/static/js/list.js b/static/js/list.js index ccc4f32d..437f398d 100755 --- a/static/js/list.js +++ b/static/js/list.js @@ -152,8 +152,11 @@ function importOldList(chan){ function refresh_scroll() { - myScroll.refresh(); - myScroll.maxScrollY = myScroll.maxScrollY - 5; + if(myScroll !== undefined) + { + myScroll.refresh(); + myScroll.maxScrollY = myScroll.maxScrollY - 5; + } } function show(){