Focus on the submit button after captcha completion, unless dumping and more captchas are needed.

This commit is contained in:
ccd0 2014-12-08 21:01:10 -08:00
parent f032a52407
commit 0e916592d8

View File

@ -107,11 +107,11 @@ QR.captcha =
null
save: (e) ->
if @needed()
if QR.cooldown.auto and @needed()
@shouldFocus = true
@reload()
else
@nodes.counter.focus()
QR.nodes.status.focus()
@timeouts.destroy ?= setTimeout @destroy.bind(@), 3 * $.SECOND
$.forceSync 'captchas'
@captchas.push