#6911 save on enter #207
|
@ -22,7 +22,7 @@ export default {
|
|||
}
|
||||
const that = this;
|
||||
document.addEventListener('keyup', function (evt) {
|
||||
if (evt.keyCode === 13) {
|
||||
if (evt.key === 'ENTER') {
|
||||
that.onSubmit();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue