Assume new captcha on pages without post form.

This commit is contained in:
ccd0 2021-07-07 20:44:30 -07:00
parent c8c293e6eb
commit f2ac22640a

View File

@ -48,7 +48,7 @@ QR =
Header.addShortcut 'qr', sc, 540
initReady: ->
captchaVersion = if $('#t-root') then 't' else 'v2'
captchaVersion = if $('#g-recaptcha, #captcha-forced-noscript') then 'v2' else 't'
QR.captcha = Captcha[captchaVersion]
QR.postingIsEnabled = true