fix: #11847, typo in markNotification

isekai-main
Barış Soner Uşaklı 2 years ago
parent a16fcf766f
commit 5a8b4125c7

@ -8,7 +8,7 @@ define('forum/notifications', ['components', 'notifications'], function (compone
const listEl = $('.notifications-list'); const listEl = $('.notifications-list');
listEl.on('click', '[component="notifications/item/link"]', function () { listEl.on('click', '[component="notifications/item/link"]', function () {
const nid = $(this).parents('[data-nid]').attr('data-nid'); const nid = $(this).parents('[data-nid]').attr('data-nid');
Notifications.markNotification(nid, true); notifications.markNotification(nid, true);
}); });
notifications.handleUnreadButton(listEl); notifications.handleUnreadButton(listEl);

Loading…
Cancel
Save