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:
parent
c48da79adf
commit
b4efbfbce7
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user