From 72f15330fc183678a19c44315f15c5b97a444bf1 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 9 Dec 2014 03:39:38 -0800 Subject: [PATCH] Captcha container need not exist when destroy() is called. --- src/Posting/QR.captcha.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.captcha.coffee b/src/Posting/QR.captcha.coffee index 315adf5ec..f5f688e9e 100644 --- a/src/Posting/QR.captcha.coffee +++ b/src/Posting/QR.captcha.coffee @@ -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) ->