Focus on the submit button after captcha completion, unless dumping and more captchas are needed.
This commit is contained in:
parent
f032a52407
commit
0e916592d8
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user