From f373e2ad815c4cc42ad290fcfacd3419fb5aa1d1 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 18 Jul 2022 07:41:28 +0100 Subject: [PATCH] COMPATIBILITY: remove overly-active keyPress --- .../javascripts/wizard/components/wizard-step.js.es6 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/assets/javascripts/wizard/components/wizard-step.js.es6 b/assets/javascripts/wizard/components/wizard-step.js.es6 index cc23c5bf..44b388bb 100644 --- a/assets/javascripts/wizard/components/wizard-step.js.es6 +++ b/assets/javascripts/wizard/components/wizard-step.js.es6 @@ -90,16 +90,6 @@ export default Component.extend({ this.showMessage(message); }, - keyPress(event) { - if (event.key === "Enter") { - if (this.showDoneButton) { - this.send("quit"); - } else { - this.send("nextStep"); - } - } - }, - @discourseComputed("step.index", "wizard.totalSteps") barStyle(displayIndex, totalSteps) { let ratio = parseFloat(displayIndex) / parseFloat(totalSteps - 1);