0
0
Fork 0

Merge branch '6911-saveOnEnter' of https://gitea.verdnatura.es/verdnatura/salix-front into 6911-saveOnEnter

This commit is contained in:
Jorge Penadés 2024-03-27 11:43:23 +01:00
commit 2eead3a69e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default {
}
const that = this;
document.addEventListener('keyup', function (evt) {
if (evt.keyCode === 13) {
if (evt.key === 'ENTER') {
that.onSubmit();
}
});