diff --git a/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars b/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars index 44673b24147..5ec2c297e3a 100644 --- a/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars +++ b/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars @@ -8,7 +8,7 @@ {{#if canChangeCategoryNotificationLevel}} -{{view Discourse.CategoryNotificationsButton categoryBinding="model" category=category}} + {{view Discourse.CategoryNotificationsButton categoryBinding="model" category=category}} {{/if}} {{#if canCreateTopic}} diff --git a/app/assets/javascripts/discourse/views/buttons/category_notifications_button.js b/app/assets/javascripts/discourse/views/buttons/category_notifications_button.js index 359a8411d18..5e2a0236e71 100644 --- a/app/assets/javascripts/discourse/views/buttons/category_notifications_button.js +++ b/app/assets/javascripts/discourse/views/buttons/category_notifications_button.js @@ -12,11 +12,6 @@ Discourse.CategoryNotificationsButton = Discourse.View.extend({ hidden: Em.computed.alias('category.deleted'), templateName: 'category_notification_dropdown', - init: function() { - this._super(); - this.display(); - }, - dropDownContent: function() { var contents = [];