0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 17:30:29 +01:00

COMPATIBILITY: remove overly-active keyPress

Dieser Commit ist enthalten in:
Angus McLeod 2022-07-18 07:41:28 +01:00
Ursprung c7097d5775
Commit f373e2ad81

Datei anzeigen

@ -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);