Don't try to focus on captcha if already in captcha bubble.

This commit is contained in:
ccd0 2015-05-09 18:43:56 -07:00
parent 015e1ce1da
commit 9c5d9ec15f

View File

@ -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