diff --git a/4chan_x.user.js b/4chan_x.user.js index 905dcffbd..de80a6860 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2511,7 +2511,7 @@ } if (err) { if (/captcha|verification/i.test(err.textContent) || err === 'Connection error with sys.4chan.org.') { - QR.cooldown.auto = qr.captchaIsEnabled ? !!$.get('captchas', []).length : true; + QR.cooldown.auto = !!$.get('captchas', []).length; QR.cooldown.set(2); } else { QR.cooldown.auto = false; diff --git a/script.coffee b/script.coffee index 0804e4f1c..cca7b666c 100644 --- a/script.coffee +++ b/script.coffee @@ -1956,7 +1956,7 @@ QR = if err if /captcha|verification/i.test(err.textContent) or err is 'Connection error with sys.4chan.org.' # Enable auto-post if we have some cached captchas. - QR.cooldown.auto = if qr.captchaIsEnabled then !!$.get('captchas', []).length else true + QR.cooldown.auto = !!$.get('captchas', []).length # Too many frequent mistyped captchas will auto-ban you! # On connection error, the post most likely didn't go through. QR.cooldown.set 2