From d629717f545f6dc1c9f914ef1e4b8f12ca74739f Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 6 Feb 2017 15:37:05 -0800 Subject: [PATCH] Move Captcha.v2.clear out of Captcha.v2.sync. --- src/Posting/Captcha.v2.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/Captcha.v2.coffee b/src/Posting/Captcha.v2.coffee index 3a977f4ad..63784e92d 100644 --- a/src/Posting/Captcha.v2.coffee +++ b/src/Posting/Captcha.v2.coffee @@ -11,6 +11,7 @@ Captcha.v2 = @captchas = [] $.get 'captchas', [], ({captchas}) -> QR.captcha.sync captchas + QR.captcha.clear() $.sync 'captchas', @sync.bind @ root = $.el 'div', className: 'captcha-root' @@ -168,7 +169,6 @@ Captcha.v2 = sync: (captchas=[]) -> @captchas = captchas - @clear() @count() getOne: ->