diff --git a/assets/javascripts/discourse/initializers/custom-wizard-edits.js.es6 b/assets/javascripts/discourse/initializers/custom-wizard-edits.js.es6 index 202025ef..9f48ac00 100644 --- a/assets/javascripts/discourse/initializers/custom-wizard-edits.js.es6 +++ b/assets/javascripts/discourse/initializers/custom-wizard-edits.js.es6 @@ -62,7 +62,7 @@ export default { // Needed to ensure appEvents get registered when navigating between steps @observes("id") initOnStepChange() { - if (/ wizard - field | wizard - step /.test(this.id)) { + if (/wizard-field|wizard-step/.test(this.id)) { this._initialize(); } },