JS cleanup

This commit is contained in:
Zed 2020-01-13 06:15:45 +01:00
parent 0924ea033d
commit 6b16ad2ce0
1 changed files with 2 additions and 3 deletions

View File

@ -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;