Fix reloading for new way of doing noscript captcha.
Was broken from 210b6bd20161286ace683ad1590a8df637f60de7.
This commit is contained in:
parent
2d2081c287
commit
2d390d0a0f
@ -218,9 +218,7 @@ Captcha.v2 =
|
||||
@timeouts.clear = setTimeout @clear.bind(@), @captchas[0].timeout - Date.now()
|
||||
|
||||
reload: ->
|
||||
if @noscript
|
||||
$('iframe', @nodes.container).src = @noscriptURL()
|
||||
else if $ 'iframe[src^="https://www.google.com/recaptcha/api/fallback?"]', @nodes.container
|
||||
if $ 'iframe[src^="https://www.google.com/recaptcha/api/fallback?"]', @nodes.container
|
||||
@destroy()
|
||||
@setup false, true
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user