From 9a7ebacfaef678f20d79de35a7f7933d85d41fe0 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 5 Feb 2017 21:56:49 -0800 Subject: [PATCH] Fix bug where adding a captcha to the cache in one tab could revert captchas used or added in other tabs. --- src/Posting/Captcha.v1.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Posting/Captcha.v1.coffee b/src/Posting/Captcha.v1.coffee index ee05c384e..c49891312 100644 --- a/src/Posting/Captcha.v1.coffee +++ b/src/Posting/Captcha.v1.coffee @@ -166,6 +166,7 @@ Captcha.v1 = save: -> return unless /\S/.test(response = @nodes.input.value) @nodes.input.value = '' + $.forceSync 'captchas' @captchas.push challenge: @nodes.img.alt response: response