From: Jakub Vrana Date: Thu, 20 Mar 2025 08:16:53 +0000 (+0100) Subject: JS: Fix typo after def9e07 X-Git-Tag: v5.1.0~81 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=5ef77ec3993dec6b06a44435eb33d820225c8c6e;p=adminer.git JS: Fix typo after def9e07 --- 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))