fix: #11847, typo in markNotification

This commit is contained in:
Barış Soner Uşaklı
2023-07-27 10:53:15 -04:00
parent a16fcf766f
commit 5a8b4125c7

View File

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