fixing double notif error on new notif

This commit is contained in:
Julian Lam
2013-08-26 16:42:29 -04:00
parent ece2edf579
commit eed66c099b

View File

@@ -147,6 +147,7 @@
socket.on('event:new_notification', function() {
document.querySelector('.notifications a i').className = 'icon-circle active';
app.alert({
alert_id: 'new_notif',
title: 'New notification',
message: 'You have unread notifications.',
type: 'notify',