mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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');
|
const nid = notifEl.attr('data-nid');
|
||||||
markNotification(nid, true);
|
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);
|
Notifications.handleUnreadButton(notifList);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user