mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 15:59:46 +02:00
Merge branch 'webpack5' of https://github.com/NodeBB/NodeBB into webpack5
This commit is contained in:
@@ -56,7 +56,7 @@ define('notifications', [
|
||||
components.get('notifications').on('click', '.mark-all-read', Notifications.markAllRead);
|
||||
|
||||
notifList.on('click', '.mark-read', function () {
|
||||
const liEl = $(this).parent();
|
||||
const liEl = $(this).parents('li');
|
||||
const unread = liEl.hasClass('unread');
|
||||
const nid = liEl.attr('data-nid');
|
||||
markNotification(nid, unread, function () {
|
||||
|
||||
Reference in New Issue
Block a user