From 95c66ee153d638e0719a219bbd99af2cfd7f2fa5 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 5 Sep 2019 14:30:18 -0700 Subject: [PATCH] Don't open captcha when the only text so far is a quote link or quoted text. #2421 --- src/Posting/Captcha.cache.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/Captcha.cache.coffee b/src/Posting/Captcha.cache.coffee index e51fc2f75..2c2c12715 100644 --- a/src/Posting/Captcha.cache.coffee +++ b/src/Posting/Captcha.cache.coffee @@ -14,7 +14,7 @@ Captcha.cache = not ( @haveCookie() or @captchas.length or QR.req ) and ( - QR.posts.length > 1 or Conf['Auto-load captcha'] or QR.posts[0].com or QR.posts[0].file + QR.posts.length > 1 or Conf['Auto-load captcha'] or /^\s*[^\s>]/m.test(QR.posts[0].com or '') or QR.posts[0].file ) and ( @submitCB or $.event('LoadCaptcha') )