JS cleanup
This commit is contained in:
parent
0924ea033d
commit
6b16ad2ce0
|
@ -19,7 +19,6 @@ window.onload = function() {
|
||||||
if (loading) return;
|
if (loading) return;
|
||||||
if (html.scrollTop + html.clientHeight >= html.scrollHeight - 3000) {
|
if (html.scrollTop + html.clientHeight >= html.scrollHeight - 3000) {
|
||||||
loading = true;
|
loading = true;
|
||||||
var topRef = document.querySelector('.top-ref');
|
|
||||||
var loadMore = getLoadMore(document);
|
var loadMore = getLoadMore(document);
|
||||||
if (loadMore == null) return;
|
if (loadMore == null) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue