Close #1101.
This commit is contained in:
parent
e55a05cf05
commit
fe30a3f2b3
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user