|
@@ -264,7 +264,7 @@
|
|
|
|
|
|
function getNextBatch() {
|
|
function getNextBatch() {
|
|
window.onscroll = debounce(function() {
|
|
window.onscroll = debounce(function() {
|
|
- let bottomOfWindow = document.documentElement.scrollTop + window.innerHeight > document.documentElement.scrollHeight;
|
|
|
|
|
|
+ let bottomOfWindow = document.documentElement.scrollTop + window.innerHeight + 100 > document.documentElement.scrollHeight;
|
|
|
|
|
|
if(bottomOfWindow){
|
|
if(bottomOfWindow){
|
|
loadMore()
|
|
loadMore()
|