From 5ef77ec3993dec6b06a44435eb33d820225c8c6e Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 20 Mar 2025 09:16:53 +0100 Subject: [PATCH] JS: Fix typo after def9e07 --- adminer/static/editing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/static/editing.js b/adminer/static/editing.js index 99aa345f..66d92b63 100644 --- a/adminer/static/editing.js +++ b/adminer/static/editing.js @@ -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))