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

Fix JS error on AI column input

This commit is contained in:
Jakub Vrana
2025-03-24 08:39:04 +01:00
parent 486f164247
commit c47590bb0d

View File

@@ -336,8 +336,8 @@ function input($field, $value, $function, $autofocus = false) {
}
$first++;
}
if ($first) {
echo script("mixin(qsl('td'), {oninput: partial(skipOriginal, $first)});");
if ($first && count($functions) > 1) {
echo script("qsl('td').oninput = partial(skipOriginal, $first);");
}
}
}