diff --git a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 index 2c4a2d1b1ea..543c3a9ee0e 100644 --- a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 +++ b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 @@ -173,7 +173,9 @@ export default Ember.Controller.extend( label: I18n.t("cancel"), class: "d-modal-cancel", link: true, - callback: () => this.set("deleting", false) + callback: () => { + this.set("deleting", false); + } }, { label: