Disable 'Force Noscript Captcha' when Recaptcha v1 is used. #526
This commit is contained in:
parent
3b71b533bc
commit
5d6df63463
@ -20,11 +20,7 @@ QR =
|
|||||||
|
|
||||||
return if g.VIEW is 'archive'
|
return if g.VIEW is 'archive'
|
||||||
|
|
||||||
version = if Conf['Use Recaptcha v1']
|
version = if Conf['Use Recaptcha v1'] then 'v1' else 'v2'
|
||||||
noscript = Conf['Force Noscript Captcha'] or not $.hasClass doc, 'js-enabled'
|
|
||||||
if noscript then 'noscript' else 'v1'
|
|
||||||
else
|
|
||||||
'v2'
|
|
||||||
@captcha = Captcha[version]
|
@captcha = Captcha[version]
|
||||||
|
|
||||||
$.on d, '4chanXInitFinished', @initReady
|
$.on d, '4chanXInitFinished', @initReady
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user