aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-23 16:55:52 -0700
committerfriendica <info@friendica.com>2014-06-23 16:55:52 -0700
commit181623030ba0903431c4f3184f8abb1c4d639ec5 (patch)
tree74d00ff243bb5c85a267d8526853cf6757f3f3f2
parent177c33be10a2cfb7deb23daa9aeece2eab3d4400 (diff)
downloadvolse-hubzilla-181623030ba0903431c4f3184f8abb1c4d639ec5.tar.gz
volse-hubzilla-181623030ba0903431c4f3184f8abb1c4d639ec5.tar.bz2
volse-hubzilla-181623030ba0903431c4f3184f8abb1c4d639ec5.zip
move the reset of "in_progress" to after the page and structures have completed updating
-rw-r--r--view/js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index cb492b9de..a7745cbaf 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -615,11 +615,12 @@ function updateConvItems(mode,data) {
update_mode = 'append';
page_load = false;
scroll_next = false;
- in_progress = false;
updateConvItems(update_mode,data);
$("#page-spinner").spin(false);
$("#profile-jot-text-loading").spin(false);
+ in_progress = false;
+
// FIXME - the following lines were added so that almost
// immediately after we update the posts on the page, we
// re-check and update the notification counts.