Don't focus on captcha when it expires unless focus is on submit button.

This commit is contained in:
ccd0 2015-05-09 18:34:31 -07:00
parent 81677f0797
commit 015e1ce1da

View File

@ -172,7 +172,7 @@ Captcha.v2 =
@captchas = @captchas[i..]
@count()
$.set 'captchas', @captchas
@setup true
@setup(d.activeElement is QR.nodes.status)
count: ->
@nodes.counter.textContent = "Captchas: #{@captchas.length}"