0
0
Fork 0

refs #6911: perf KeyCode is deprecated

This commit is contained in:
Javier Segarra 2024-03-22 06:35:47 +00:00
parent 8604c86828
commit 7ae05a3e52
1 changed files with 1 additions and 1 deletions

View File

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