mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: #11847, typo in markNotification
This commit is contained in:
@@ -8,7 +8,7 @@ define('forum/notifications', ['components', 'notifications'], function (compone
|
||||
const listEl = $('.notifications-list');
|
||||
listEl.on('click', '[component="notifications/item/link"]', function () {
|
||||
const nid = $(this).parents('[data-nid]').attr('data-nid');
|
||||
Notifications.markNotification(nid, true);
|
||||
notifications.markNotification(nid, true);
|
||||
});
|
||||
notifications.handleUnreadButton(listEl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user