aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-13 20:09:11 -0700
committerfriendica <info@friendica.com>2013-10-13 20:09:11 -0700
commit454aa6bff38ee540b7467f3caa3d6651b70f14ef (patch)
tree7bfc7bec499fe13229e447c401bf0d2b213f5c17 /js/main.js
parentbae7f4e07868563637594edb81933fc5f3ed49cf (diff)
downloadvolse-hubzilla-454aa6bff38ee540b7467f3caa3d6651b70f14ef.tar.gz
volse-hubzilla-454aa6bff38ee540b7467f3caa3d6651b70f14ef.tar.bz2
volse-hubzilla-454aa6bff38ee540b7467f3caa3d6651b70f14ef.zip
turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index d5260a4be..11a3b360c 100644
--- a/js/main.js
+++ b/js/main.js
@@ -137,7 +137,9 @@
e.tipTip({defaultPosition: pos, edgeOffset: 8});
});*/
-
+ var e = document.getElementById('content-complete');
+ if(typeof e !== 'undefined')
+ pageHasMoreContent = false;
/* setup onoff widgets */
$(".onoff input").each(function(){