Revert "Work around captcha's new scrolling-to-top issue."
This reverts commit e4a5f4f04aa54f209fbbc54c203adc111801f7c5.
This commit is contained in:
parent
72c408e56b
commit
966c0e1078
@ -141,7 +141,7 @@ QR =
|
|||||||
$.off d, 'scroll', QR.scrollLock
|
$.off d, 'scroll', QR.scrollLock
|
||||||
|
|
||||||
inBubble: ->
|
inBubble: ->
|
||||||
d.activeElement in $$('.goog-bubble-content > iframe')
|
$$('.goog-bubble-content > iframe').some((el) -> el.getBoundingClientRect().bottom > 0)
|
||||||
|
|
||||||
inCaptcha: ->
|
inCaptcha: ->
|
||||||
(d.activeElement?.nodeName is 'IFRAME' and QR.nodes.el.contains(d.activeElement)) or (QR.hasFocus and QR.inBubble())
|
(d.activeElement?.nodeName is 'IFRAME' and QR.nodes.el.contains(d.activeElement)) or (QR.hasFocus and QR.inBubble())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user