move the reset of "in_progress" to after the page and structures have completed updating

This commit is contained in:
friendica 2014-06-23 16:55:52 -07:00
parent 177c33be10
commit 181623030b

View File

@ -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.