From 9ee39b3908d7e50f2cce629b1615d020127422df Mon Sep 17 00:00:00 2001 From: Mayhem Date: Sat, 5 Apr 2014 13:45:34 +0200 Subject: [PATCH] Re-setup the QR captcha when necessary. Fix #1534 --- src/Posting/QR.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index f6e440268..902fe18a5 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -546,6 +546,7 @@ QR = QR.cooldown.auto = false QR.status() QR.error err + QR.captcha.setup() if QR.captcha.isEnabled and QR.cooldown.auto return h1 = $ 'h1', resDoc @@ -576,6 +577,7 @@ QR = # Enable auto-posting if we have stuff left to post, disable it otherwise. postsCount = QR.posts.length - 1 QR.cooldown.auto = postsCount and isReply + QR.captcha.setup() if QR.captcha.isEnabled and QR.cooldown.auto unless Conf['Persistent QR'] or QR.cooldown.auto QR.close()