JS cleanup
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user