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
|
null
|
||||||
|
|
||||||
save: (e) ->
|
save: (e) ->
|
||||||
if @needed()
|
if QR.cooldown.auto and @needed()
|
||||||
@shouldFocus = true
|
@shouldFocus = true
|
||||||
@reload()
|
@reload()
|
||||||
else
|
else
|
||||||
@nodes.counter.focus()
|
QR.nodes.status.focus()
|
||||||
@timeouts.destroy ?= setTimeout @destroy.bind(@), 3 * $.SECOND
|
@timeouts.destroy ?= setTimeout @destroy.bind(@), 3 * $.SECOND
|
||||||
$.forceSync 'captchas'
|
$.forceSync 'captchas'
|
||||||
@captchas.push
|
@captchas.push
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user