partial fix for issue #123 - this doesn't actually fix the reported problem, but does instantly reset the notification count when you click 'mark all xyz notifications seen'

This commit is contained in:
friendica 2013-10-20 21:02:24 -07:00
parent c48da79adf
commit b4efbfbce7

View File

@ -98,6 +98,7 @@
function markRead(notifType) { function markRead(notifType) {
$.get('ping?f=&markRead='+notifType); $.get('ping?f=&markRead='+notifType);
if(timer) clearTimeout(timer); if(timer) clearTimeout(timer);
$('#' + notifType + '-update').html('');
timer = setTimeout(NavUpdate,2000); timer = setTimeout(NavUpdate,2000);
} }