diff --git a/src/boot/qformMixin.js b/src/boot/qformMixin.js index 689157cca..b0602ab69 100644 --- a/src/boot/qformMixin.js +++ b/src/boot/qformMixin.js @@ -22,7 +22,7 @@ export default { } const that = this; document.addEventListener('keyup', function (evt) { - if (evt.keyCode === 13) { + if (evt.key === 'ENTER') { that.onSubmit(); } });