aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-20 21:11:21 -0700
committerfriendica <info@friendica.com>2013-10-20 21:11:21 -0700
commitd98da77f2a093c662006936c2fc5521f17518d8f (patch)
tree00012e114815a72d1543b3bd9fc24274030711da
parentb4efbfbce73336829aee75843cf1d18fdd7c031f (diff)
downloadvolse-hubzilla-d98da77f2a093c662006936c2fc5521f17518d8f.tar.gz
volse-hubzilla-d98da77f2a093c662006936c2fc5521f17518d8f.tar.bz2
volse-hubzilla-d98da77f2a093c662006936c2fc5521f17518d8f.zip
issue #123 - this will leave a very very short interval between the time a notification shows up and the time it is cleared. This is about as fast as we can clear it. Previously it could have been as long as the network poll interval.
-rw-r--r--js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index a19f9feb6..79f11f424 100644
--- a/js/main.js
+++ b/js/main.js
@@ -576,7 +576,8 @@ function updateConvItems(mode,data) {
updateConvItems(update_mode,data);
$("#page-spinner").spin(false);
$("#profile-jot-text-loading").spin(false);
-
+ if(timer) clearTimeout(timer);
+ timer = setTimeout(NavUpdate,10);
});