From 7e145daeb172b85cb40adc3486fd537c60a1a2fd Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 14 Sep 2019 10:22:20 -0700 Subject: [PATCH] Fix bug in handling captcha errors when using captcha prerequest. --- src/Posting/Captcha.cache.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Posting/Captcha.cache.coffee b/src/Posting/Captcha.cache.coffee index b4070b77c..b8517d0a5 100644 --- a/src/Posting/Captcha.cache.coffee +++ b/src/Posting/Captcha.cache.coffee @@ -36,7 +36,8 @@ Captcha.cache = isReply = (QR.selected.thread isnt 'new') if !$.event('RequestCaptcha', {isReply}) @prerequested = true - @submitCB = @save.bind(@) + @submitCB = (captcha) => + @save captcha if captcha @updateCount() haveCookie: ->