diff --git a/app/assets/javascripts/discourse/components/hide-modal-trigger.js.es6 b/app/assets/javascripts/discourse/components/hide-modal-trigger.js.es6 index c3572eaa30d..0db92cc4617 100644 --- a/app/assets/javascripts/discourse/components/hide-modal-trigger.js.es6 +++ b/app/assets/javascripts/discourse/components/hide-modal-trigger.js.es6 @@ -1,4 +1,4 @@ -export default Ember.View.extend({ +export default Ember.Component.extend({ didInsertElement() { this._super(); $('#discourse-modal').modal('hide');