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: ->
|
reload: ->
|
||||||
if @noscript
|
if @noscript
|
||||||
$('iframe', @nodes.container).src = @noscriptURL()
|
$('iframe', @nodes.container).src = @noscriptURL()
|
||||||
|
else if $ 'iframe[src^="https://www.google.com/recaptcha/api/fallback?"]', @nodes.container
|
||||||
|
@destroy()
|
||||||
|
@setup false, true
|
||||||
else
|
else
|
||||||
$.globalEval '''
|
$.globalEval '''
|
||||||
(function() {
|
(function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user