Fix captcha not reloading when fallback captcha was invoked.
This commit is contained in:
parent
a78ac7530c
commit
013562cdbe
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user