Skip to content

Node.js based forum software built for the modern web

fix: #11847, typo in markNotification

Barış Soner Uşaklı5a8b4125c7c8
diff --git a/public/src/client/notifications.js b/public/src/client/notifications.js
index af509a1edd..d42b23d51e 100644
--- a/public/src/client/notifications.js
+++ b/public/src/client/notifications.js
@@ -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);