Save bytes
This commit is contained in:
parent
e2dbb9c7bd
commit
07e2c3b2a4
|
@ -227,8 +227,7 @@ function selectFieldChange(form) {
|
||||||
var ok = (function () {
|
var ok = (function () {
|
||||||
var inputs = form.getElementsByTagName('input');
|
var inputs = form.getElementsByTagName('input');
|
||||||
for (var i=0; i < inputs.length; i++) {
|
for (var i=0; i < inputs.length; i++) {
|
||||||
var input = inputs[i];
|
if (inputs[i].value && /^fulltext/.test(inputs[i].name)) {
|
||||||
if (/^fulltext/.test(input.name) && input.value) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue