Disable 'Force Noscript Captcha' when Recaptcha v1 is used. #526

This commit is contained in:
ccd0 2015-10-21 10:46:53 -07:00
parent 3b71b533bc
commit 5d6df63463

View File

@ -20,11 +20,7 @@ QR =
return if g.VIEW is 'archive'
version = if Conf['Use Recaptcha v1']
noscript = Conf['Force Noscript Captcha'] or not $.hasClass doc, 'js-enabled'
if noscript then 'noscript' else 'v1'
else
'v2'
version = if Conf['Use Recaptcha v1'] then 'v1' else 'v2'
@captcha = Captcha[version]
$.on d, '4chanXInitFinished', @initReady