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 $.set 'captchas', @captchas
@count() @count()
if (QR.cooldown.auto or Conf['Post on Captcha Completion']) and @needed() if @needed()
@shouldFocus = true if QR.cooldown.auto or Conf['Post on Captcha Completion']
@shouldFocus = true
else
QR.nodes.status.focus()
@reload() @reload()
else else
if pasted if pasted