mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
JS: Fix typo after def9e07
This commit is contained in:
@@ -405,7 +405,7 @@ function editingTypeChange() {
|
|||||||
const type = this;
|
const type = this;
|
||||||
const name = type.name.substr(0, type.name.length - 6);
|
const name = type.name.substr(0, type.name.length - 6);
|
||||||
const text = selectValue(type);
|
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 (el.name == name + '[length]') {
|
||||||
if (!(
|
if (!(
|
||||||
(/(char|binary)$/.test(lastType) && /(char|binary)$/.test(text))
|
(/(char|binary)$/.test(lastType) && /(char|binary)$/.test(text))
|
||||||
|
Reference in New Issue
Block a user