diff options
author | friendica <info@friendica.com> | 2013-10-30 17:33:10 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-30 17:33:10 -0700 |
commit | a5693df07fdf6fdf31247bfe0700d4c8096d4fbf (patch) | |
tree | cf604e95a2b10639f281a1c20fa3caa0a601bb84 /js | |
parent | 2035a5dd763f7524cdc1a678b0e8dbca94f270f5 (diff) | |
download | volse-hubzilla-a5693df07fdf6fdf31247bfe0700d4c8096d4fbf.tar.gz volse-hubzilla-a5693df07fdf6fdf31247bfe0700d4c8096d4fbf.tar.bz2 volse-hubzilla-a5693df07fdf6fdf31247bfe0700d4c8096d4fbf.zip |
issue #189 - show post edited time on relative date hovertip
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js index f4599e20c..a9e670da5 100644 --- a/js/main.js +++ b/js/main.js @@ -580,6 +580,17 @@ function updateConvItems(mode,data) { updateConvItems(update_mode,data); $("#page-spinner").spin(false); $("#profile-jot-text-loading").spin(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. + // As it turns out this causes a bit of an inefficiency + // as we're pinging twice for every update, once before + // and once after. A btter way to do this is to rewrite + // NavUpdate and perhpas LiveUpdate so that we check for + // post updates first and only call the notification ping + // once. + updateCountsOnly = true; if(timer) clearTimeout(timer); timer = setTimeout(NavUpdate,10); |