From 181623030ba0903431c4f3184f8abb1c4d639ec5 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 23 Jun 2014 16:55:52 -0700 Subject: move the reset of "in_progress" to after the page and structures have completed updating --- view/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/js') 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. -- cgit v1.2.3