aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-16 14:18:03 +0200
committermarijus <mario@mariovavti.com>2014-09-16 14:18:03 +0200
commitb5bb2230ebd9648e30c79efed6ffe672a2ae19bf (patch)
tree59d180a8c157252c1ba2db26f7121037f2fd4b1e
parenta1b66f56f0981a0853f180a458c401a80dda28ce (diff)
downloadvolse-hubzilla-b5bb2230ebd9648e30c79efed6ffe672a2ae19bf.tar.gz
volse-hubzilla-b5bb2230ebd9648e30c79efed6ffe672a2ae19bf.tar.bz2
volse-hubzilla-b5bb2230ebd9648e30c79efed6ffe672a2ae19bf.zip
this still has less issues
-rw-r--r--view/js/main.js4
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();