diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 960d9fab1..5ce2a6e9b 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -141,7 +141,7 @@ QR = $.off d, 'scroll', QR.scrollLock inBubble: -> - $$('.goog-bubble-content > iframe').some((el) -> el.getBoundingClientRect().bottom > 0) + d.activeElement in $$('.goog-bubble-content > iframe') inCaptcha: -> (d.activeElement?.nodeName is 'IFRAME' and QR.nodes.el.contains(d.activeElement)) or (QR.hasFocus and QR.inBubble())