updates 1201 and 1200 should return success for postgres. notifications: remove class show and session storage entry when we mark all notifications seen
This commit is contained in:
@@ -357,7 +357,9 @@ function closeMenu(theID) {
|
||||
function markRead(notifType) {
|
||||
$.get('ping?f=&markRead='+notifType);
|
||||
$('.' + notifType + '-button').hide();
|
||||
$('#nav-' + notifType + '-sub').removeClass('show');
|
||||
sessionStorage.removeItem(notifType + '_notifications_cache');
|
||||
sessionStorage.removeItem('notification_open');
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(updateInit,2000);
|
||||
}
|
||||
|
Reference in New Issue
Block a user