diff options
author | marijus <mario@mariovavti.com> | 2014-09-16 14:18:03 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-09-16 14:18:03 +0200 |
commit | b5bb2230ebd9648e30c79efed6ffe672a2ae19bf (patch) | |
tree | 59d180a8c157252c1ba2db26f7121037f2fd4b1e /view/js/main.js | |
parent | a1b66f56f0981a0853f180a458c401a80dda28ce (diff) | |
download | volse-hubzilla-b5bb2230ebd9648e30c79efed6ffe672a2ae19bf.tar.gz volse-hubzilla-b5bb2230ebd9648e30c79efed6ffe672a2ae19bf.tar.bz2 volse-hubzilla-b5bb2230ebd9648e30c79efed6ffe672a2ae19bf.zip |
this still has less issues
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index d6b405258..2e297c9d6 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1114,7 +1114,7 @@ $(window).scroll(function () { $('#more').show(); } - if($(window).scrollTop() + $(window).height() == $(document).height()) { + if($(window).scrollTop() + $(window).height() > $(document).height() - 100) { if((pageHasMoreContent) && (! loadingPage)) { $('#more').hide(); $('#no-more').hide(); @@ -1134,7 +1134,7 @@ $(window).scroll(function () { $('#more').show(); } - if($(window).scrollTop() + $(window).height() == $(document).height()) { + if($(window).scrollTop() + $(window).height() > $(document).height() - 100) { if((pageHasMoreContent) && (! loadingPage) && (! justifiedGalleryActive)) { $('#more').hide(); $('#no-more').hide(); |