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

JS: Fix typo after def9e07

This commit is contained in:
Jakub Vrana
2025-03-20 09:16:53 +01:00
parent 62c18efbd5
commit 5ef77ec399

View File

@@ -405,7 +405,7 @@ function editingTypeChange() {
const type = this;
const name = type.name.substr(0, type.name.length - 6);
const text = selectValue(type);
for (const el of type.form.elements.length) {
for (const el of type.form.elements) {
if (el.name == name + '[length]') {
if (!(
(/(char|binary)$/.test(lastType) && /(char|binary)$/.test(text))