aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-17 15:18:06 -0800
committerfriendica <info@friendica.com>2014-11-17 15:18:06 -0800
commitc0ad4763b30238aead8f1187efd669080c52a149 (patch)
tree7d9330457593d90f540004d09087fde59f2b4429 /view/js/main.js
parentb11ed7f88e4683315a4f5aa02692cb61facf32a7 (diff)
downloadvolse-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.js7
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;