remove double-click to mark all notifications read

This commit is contained in:
Julian Lam
2016-12-27 12:55:22 -05:00
parent d4a1542ba3
commit a8521d0349

View File

@@ -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 () {