From 454aa6bff38ee540b7467f3caa3d6651b70f14ef Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 13 Oct 2013 20:09:11 -0700 Subject: turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules --- js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'js/main.js') 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(){ -- cgit v1.2.3