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

FIX: ensure element is present before passing on insertText event

Dieser Commit ist enthalten in:
Angus McLeod 2023-05-23 10:10:52 +02:00
Ursprung 2221f58231
Commit 6141456f2f

Datei anzeigen

@ -69,7 +69,7 @@ export default {
},
_wizardInsertText(text, options) {
if (this.session.wizardEventFieldId === this.fieldId) {
if (this.session.wizardEventFieldId === this.fieldId && this.element) {
this.insertText(text, options);
}
},