diff --git a/js/notifications.js b/js/notifications.js index f81e95f2..119b5653 100644 --- a/js/notifications.js +++ b/js/notifications.js @@ -8,7 +8,6 @@ Whisper.Notifications = new (Backbone.Collection.extend({ initialize: function() { this.on('add', this.onAdd); - this.on('remove', this.onRemove); }, isEnabled: function(callback) { return Notification.permission === 'granted' && @@ -83,9 +82,6 @@ extension.notification.clear(); this.update(); }, - onRemove: function() { - this.update(); - }, clear: function() { this.reset([]); }