onKey Escape ignores input fields

This commit is contained in:
rivten
2021-05-20 10:00:16 +02:00
committed by fguillot
parent 4fa9de8390
commit 71b47b2c5a
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ KB.keyboardShortcuts = function () {
KB.trigger('modal.close');
_KB.get("Dropdown").close();
}
});
}, true);
KB.onKey('Enter', submitForm, true, true);
KB.onKey('Enter', submitForm, true, false, true);