Don't try to focus on captcha if already in captcha bubble.
This commit is contained in:
parent
015e1ce1da
commit
9c5d9ec15f
@ -51,7 +51,7 @@ Captcha.v2 =
|
||||
|
||||
setup: (focus, force) ->
|
||||
return unless @isEnabled and (@needed() or force)
|
||||
@shouldFocus = true if focus
|
||||
@shouldFocus = true if focus and not QR.inBubble()
|
||||
if @timeouts.destroy
|
||||
clearTimeout @timeouts.destroy
|
||||
delete @timeouts.destroy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user