Recaptcha.reload("t") no longer works

This commit is contained in:
ccd0 2014-04-28 23:02:46 -07:00
parent 5fac71f638
commit 38dbb55fd3

View File

@ -130,8 +130,8 @@ QR.captcha =
@nodes.input.alt = count # For XTRM RICE.
reload: (focus) ->
# the 't' argument prevents the input from being focused
$.globalEval 'Recaptcha.reload("t")'
# Hack to prevent the input from being focused
$.globalEval 'Recaptcha.reload(); Recaptcha.should_focus = false;'
# Focus if we meant to.
@nodes.input.focus() if focus