Fix captcha not reloading when fallback captcha was invoked.

This commit is contained in:
ccd0 2015-11-20 12:37:27 -08:00
parent a78ac7530c
commit 013562cdbe

View File

@ -225,6 +225,9 @@ Captcha.v2 =
reload: ->
if @noscript
$('iframe', @nodes.container).src = @noscriptURL()
else if $ 'iframe[src^="https://www.google.com/recaptcha/api/fallback?"]', @nodes.container
@destroy()
@setup false, true
else
$.globalEval '''
(function() {