Handle case when setup() is quickly followed by destroy(). #615
This commit is contained in:
parent
43f485a27f
commit
dc6ba104a8
@ -128,6 +128,7 @@ Captcha.v2 =
|
||||
return
|
||||
|
||||
setupIFrame: (iframe) ->
|
||||
return unless doc.contains iframe
|
||||
Captcha.replace.iframe iframe
|
||||
$.addClass QR.nodes.el, 'captcha-open'
|
||||
@fixQRPosition()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user