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()
err = 'No valid captcha.' unless response
QR.cleanNotifications()
if err
# stop auto-posting
QR.cooldown.auto = false
QR.status()
QR.error err
return
QR.cleanNotifications()
# Enable auto-posting if we have stuff to post, disable it otherwise.
QR.cooldown.auto = QR.posts.length > 1