diff --git a/app/assets/javascripts/discourse/views/category_chooser_view.js b/app/assets/javascripts/discourse/views/category_chooser_view.js index c37aacd95b0..d9ab5462c8b 100644 --- a/app/assets/javascripts/discourse/views/category_chooser_view.js +++ b/app/assets/javascripts/discourse/views/category_chooser_view.js @@ -16,7 +16,7 @@ Discourse.CategoryChooserView = Discourse.ComboboxView.extend({ this._super(); // TODO perhaps allow passing a param in to select if we need full or not this.set('content', _.filter(Discourse.Category.list(), function(c){ - return c.permission == Discourse.PermissionType.FULL; + return c.permission === Discourse.PermissionType.FULL; })); },