mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
JS: Style issues
This commit is contained in:
@@ -73,7 +73,7 @@ function formField(form, name) {
|
||||
function typePassword(el, disable) {
|
||||
try {
|
||||
el.type = (disable ? 'text' : 'password');
|
||||
} catch (e) {
|
||||
} catch (e) { // empty
|
||||
}
|
||||
}
|
||||
|
||||
@@ -466,7 +466,7 @@ function enumValues(s) {
|
||||
var result = [];
|
||||
var offset = 0;
|
||||
var match;
|
||||
while (match = re.exec(s)) {
|
||||
while ((match = re.exec(s))) {
|
||||
if (offset != match.index) {
|
||||
break;
|
||||
}
|
||||
|
@@ -429,9 +429,10 @@ function selectSearch(name) {
|
||||
var el = qs('#fieldset-search');
|
||||
el.className = '';
|
||||
var divs = qsa('div', el);
|
||||
for (var i=0; i < divs.length; i++) {
|
||||
var i;
|
||||
for (i=0; i < divs.length; i++) {
|
||||
var div = divs[i];
|
||||
var el = qs('[name$="[col]"]', div);
|
||||
el = qs('[name$="[col]"]', div);
|
||||
if (el && selectValue(el) == name) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user