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