mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-22 07:23:01 +01:00
feat: update notification item buttons on mark all read
This commit is contained in:
@@ -166,6 +166,10 @@ define('notifications', [
|
||||
alerts.error(err);
|
||||
}
|
||||
unreadNotifs = {};
|
||||
const notifEls = $('[component="notifications/list"] [data-nid]');
|
||||
notifEls.removeClass('unread');
|
||||
notifEls.find('.mark-read .unread').addClass('hidden');
|
||||
notifEls.find('.mark-read .read').removeClass('hidden');
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user