mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 12:01:17 +01:00
remove double-click to mark all notifications read
This commit is contained in:
@@ -21,12 +21,6 @@ define('notifications', ['sounds', 'translator', 'components'], function (sound,
|
||||
}
|
||||
|
||||
Notifications.loadNotifications(notifList);
|
||||
})
|
||||
.on('dblclick', function (e) {
|
||||
e.preventDefault();
|
||||
if (parseInt(notifIcon.attr('data-content'), 10) > 0) {
|
||||
Notifications.markAllRead();
|
||||
}
|
||||
});
|
||||
|
||||
notifList.on('click', '[data-nid]', function () {
|
||||
|
||||
Reference in New Issue
Block a user