fix: mark-all read notifications button

This commit is contained in:
Barış Soner Uşaklı
2025-08-22 08:50:09 -04:00
parent 929ae61646
commit c16f9d6495

View File

@@ -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);