firing client-side hook on notification count update now

v1.18.x
Julian Lam 9 years ago
parent 46c3e5c126
commit f18382a892

@ -123,6 +123,9 @@ define('notifications', ['sounds', 'translator', 'components'], function(sound,
notifIcon.attr('data-content', count > 20 ? '20+' : count);
Tinycon.setBubble(count);
$(window).trigger('action:notification.updateCount', {
count: count
});
};
Notifications.markAllRead = function() {

Loading…
Cancel
Save