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