Captcha container need not exist when destroy() is called.

This commit is contained in:
ccd0 2014-12-09 03:39:38 -08:00
parent 4c86bbf7be
commit 72f15330fc

View File

@ -93,7 +93,7 @@ QR.captcha =
return unless @isEnabled
delete @timeouts.destroy
$.rmClass QR.nodes.el, 'captcha-open'
$.rm @nodes.container
$.rm @nodes.container if @nodes.container
delete @nodes.container
sync: (captchas) ->