Assume new captcha on pages without post form.
This commit is contained in:
parent
c8c293e6eb
commit
f2ac22640a
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user