fix moot using a dummy Recaptcha key on several pages

This commit is contained in:
ccd0 2014-04-27 09:07:06 -07:00
parent d6f9d136b0
commit 74f270c3af

View File

@ -113,6 +113,9 @@ Main =
attributeFilter: ['href']
initReady: ->
# fix moot breaking captcha
$.globalEval 'window.recaptchaKey = "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc"'
if d.title in ['4chan - Temporarily Offline', '4chan - 404 Not Found']
if Conf['404 Redirect'] and g.VIEW is 'thread'
href = Redirect.to 'thread',