diff options
author | friendica <info@friendica.com> | 2014-11-17 15:18:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-17 15:18:06 -0800 |
commit | c0ad4763b30238aead8f1187efd669080c52a149 (patch) | |
tree | 7d9330457593d90f540004d09087fde59f2b4429 /view/js/main.js | |
parent | b11ed7f88e4683315a4f5aa02692cb61facf32a7 (diff) | |
download | volse-hubzilla-c0ad4763b30238aead8f1187efd669080c52a149.tar.gz volse-hubzilla-c0ad4763b30238aead8f1187efd669080c52a149.tar.bz2 volse-hubzilla-c0ad4763b30238aead8f1187efd669080c52a149.zip |
add unseen count and way to mark unseen to list mode. Also fix automatic mark of unseen so as to work with list mode.
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index bec35ba72..9b5c1b1b2 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -180,6 +180,13 @@ timer = setTimeout(NavUpdate,2000); } + function markItemRead(itemId) { + $.get('ping?f=&markItemRead='+itemId); + $('.unseen-wall-indicator-'+itemId).hide(); + } + + + var src = null; var prev = null; var livetime = null; |