diff options
author | friendica <info@friendica.com> | 2013-10-20 21:11:21 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-20 21:11:21 -0700 |
commit | d98da77f2a093c662006936c2fc5521f17518d8f (patch) | |
tree | 00012e114815a72d1543b3bd9fc24274030711da | |
parent | b4efbfbce73336829aee75843cf1d18fdd7c031f (diff) | |
download | volse-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.js | 3 |
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); }); |