Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit 50ec372

Browse files
committed
GHOST-728: Fetch next XHR page on DOM init only if the content is
strictly smaller than the container
1 parent 226dfbc commit 50ec372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/scripts/base-table-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ $(document).ready(function() {
6363
fetchNextPage();
6464
}
6565
});
66-
if ($('.tablelist').height() <= $('.container[role=main]').innerHeight()) { //fetchfing next page to fill the document
66+
if ($('.tablelist').height() < $('.container[role=main]').innerHeight()) { //fetchfing next page to fill the document
6767
fetchNextPage();
6868
}
6969
}

0 commit comments

Comments
 (0)