Update inBubble test for captcha changes.
This commit is contained in:
parent
c4bf1c99f0
commit
f8b313ecb4
@ -153,7 +153,7 @@ QR =
|
||||
$.off d, 'scroll', QR.scrollLock
|
||||
|
||||
inBubble: ->
|
||||
bubbles = $$ '.goog-bubble-content > iframe'
|
||||
bubbles = $$ 'iframe[src^="https://www.google.com/recaptcha/api2/frame"]'
|
||||
d.activeElement in bubbles or bubbles.some((el) -> el.getBoundingClientRect().bottom > 0)
|
||||
|
||||
inCaptcha: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user