JS cleanup
This commit is contained in:
parent
0924ea033d
commit
6b16ad2ce0
1 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,6 @@ window.onload = function() {
|
|||
if (loading) return;
|
||||
if (html.scrollTop + html.clientHeight >= html.scrollHeight - 3000) {
|
||||
loading = true;
|
||||
var topRef = document.querySelector('.top-ref');
|
||||
var loadMore = getLoadMore(document);
|
||||
if (loadMore == null) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue