aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-05 22:01:47 -0700
committerfriendica <info@friendica.com>2014-08-05 22:01:47 -0700
commit9a0a61330745f977095231f49eac453cd3168319 (patch)
tree343e8d76a51ef068e180c397cc6eb50a8f8c86a7 /view
parent74377bd4b4c9100dc331e1c366a41df408b765b4 (diff)
downloadvolse-hubzilla-9a0a61330745f977095231f49eac453cd3168319.tar.gz
volse-hubzilla-9a0a61330745f977095231f49eac453cd3168319.tar.bz2
volse-hubzilla-9a0a61330745f977095231f49eac453cd3168319.zip
that went badly
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 919a569bd..c8da3c4eb 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -409,10 +409,6 @@
function updatePageItems(mode,data) {
- var e = data.getElementById('content-complete');
- if(e) {
- pageHasMoreContent = false;
- }
if(mode === 'append') {
$(data).each(function() {
@@ -423,6 +419,12 @@ function updatePageItems(mode,data) {
loadingPage = false;
}
}
+
+ var e = document.getElementById('content-complete');
+ if(e) {
+ pageHasMoreContent = false;
+ }
+
}