forked from verdnatura/salix-front
Merge branch '6911-saveOnEnter' of https://gitea.verdnatura.es/verdnatura/salix-front into 6911-saveOnEnter
This commit is contained in:
commit
2eead3a69e
|
@ -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