From 966c0e1078cf2277b58acc1aa100cff891883966 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 3 Jun 2015 19:31:46 -0700 Subject: [PATCH] Revert "Work around captcha's new scrolling-to-top issue." This reverts commit e4a5f4f04aa54f209fbbc54c203adc111801f7c5. --- src/Posting/QR.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())