Don't open captcha when the only text so far is a quote link or quoted text. #2421
This commit is contained in:
parent
626e37acac
commit
95c66ee153
@ -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')
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user