From d98da77f2a093c662006936c2fc5521f17518d8f Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 20 Oct 2013 21:11:21 -0700 Subject: 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. --- js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') 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); }); -- cgit v1.2.3