mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: mark-all read notifications button
This commit is contained in:
@@ -59,7 +59,9 @@ define('notifications', [
|
||||
const nid = notifEl.attr('data-nid');
|
||||
markNotification(nid, true);
|
||||
});
|
||||
components.get('notifications').on('click', '.mark-all-read', Notifications.markAllRead);
|
||||
components.get('notifications').on('click', '.mark-all-read', () => {
|
||||
Notifications.markAllRead();
|
||||
});
|
||||
|
||||
Notifications.handleUnreadButton(notifList);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user