or -> and
This commit is contained in:
parent
a784a608ec
commit
0a6608ac75
@ -1220,7 +1220,7 @@
|
||||
submit.disabled = false;
|
||||
submit.value = 'Submit';
|
||||
}
|
||||
if (qr.el && $('#auto', qr.el).checked || !qr.postInvalid()) {
|
||||
if (qr.el && $('#auto', qr.el).checked && !qr.postInvalid()) {
|
||||
return qr.submit.call($('form', qr.el));
|
||||
}
|
||||
}
|
||||
|
||||
@ -960,7 +960,7 @@ cooldown =
|
||||
for submit in submits
|
||||
submit.disabled = false
|
||||
submit.value = 'Submit'
|
||||
if qr.el and $('#auto', qr.el).checked or not qr.postInvalid()
|
||||
if qr.el and $('#auto', qr.el).checked and not qr.postInvalid()
|
||||
qr.submit.call $ 'form', qr.el
|
||||
|
||||
qr =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user