Reload captcha when needed even if we don't focus on it.

This commit is contained in:
ccd0 2014-12-22 21:07:20 -08:00
parent d276952cee
commit 323410cf00

View File

@ -141,8 +141,11 @@ Captcha.v2 =
$.set 'captchas', @captchas
@count()
if (QR.cooldown.auto or Conf['Post on Captcha Completion']) and @needed()
@shouldFocus = true
if @needed()
if QR.cooldown.auto or Conf['Post on Captcha Completion']
@shouldFocus = true
else
QR.nodes.status.focus()
@reload()
else
if pasted