1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Fix JS error on Ctrl+Shift+Enter on select=

This commit is contained in:
Jakub Vrana
2025-04-01 20:45:39 +02:00
parent 5e3990e473
commit 2db83e9b8f

View File

@@ -468,7 +468,7 @@ function bodyKeydown(event, button) {
}
if (isCtrl(event) && (event.keyCode == 13 || event.keyCode == 10) && isTag(target, 'select|textarea|input')) { // 13|10 - Enter
target.blur();
if (button) {
if (target.form[button]) {
target.form[button].click();
} else {
if (target.form.onsubmit) {