Captcha container need not exist when destroy() is called.
This commit is contained in:
parent
4c86bbf7be
commit
72f15330fc
@ -93,7 +93,7 @@ QR.captcha =
|
|||||||
return unless @isEnabled
|
return unless @isEnabled
|
||||||
delete @timeouts.destroy
|
delete @timeouts.destroy
|
||||||
$.rmClass QR.nodes.el, 'captcha-open'
|
$.rmClass QR.nodes.el, 'captcha-open'
|
||||||
$.rm @nodes.container
|
$.rm @nodes.container if @nodes.container
|
||||||
delete @nodes.container
|
delete @nodes.container
|
||||||
|
|
||||||
sync: (captchas) ->
|
sync: (captchas) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user