This commit is contained in:
Mayhem 2013-05-14 22:46:01 +02:00
parent e55a05cf05
commit fe30a3f2b3

View File

@ -949,13 +949,13 @@ QR =
{challenge, response} = QR.captcha.getOne() {challenge, response} = QR.captcha.getOne()
err = 'No valid captcha.' unless response err = 'No valid captcha.' unless response
QR.cleanNotifications()
if err if err
# stop auto-posting # stop auto-posting
QR.cooldown.auto = false QR.cooldown.auto = false
QR.status() QR.status()
QR.error err QR.error err
return return
QR.cleanNotifications()
# Enable auto-posting if we have stuff to post, disable it otherwise. # Enable auto-posting if we have stuff to post, disable it otherwise.
QR.cooldown.auto = QR.posts.length > 1 QR.cooldown.auto = QR.posts.length > 1