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
|
return
|
||||||
|
|
||||||
setupIFrame: (iframe) ->
|
setupIFrame: (iframe) ->
|
||||||
|
return unless doc.contains iframe
|
||||||
Captcha.replace.iframe iframe
|
Captcha.replace.iframe iframe
|
||||||
$.addClass QR.nodes.el, 'captcha-open'
|
$.addClass QR.nodes.el, 'captcha-open'
|
||||||
@fixQRPosition()
|
@fixQRPosition()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user