diff --git a/4chan_x.user.js b/4chan_x.user.js index f624cc3f1..e5227c687 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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)); } } diff --git a/script.coffee b/script.coffee index 75d267c4b..0db5f083d 100644 --- a/script.coffee +++ b/script.coffee @@ -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 =