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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user