diff --git a/CHANGELOG.md b/CHANGELOG.md index 066399cbf..039ce2c5c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,9 @@ The links to individual versions below are to copies of the script with the upda ### v1.10.12 +**v1.10.12.10** *(2015-06-03)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.10/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.10/builds/4chan-X-noupdate.crx "Chromium version")] +- Revert workaround for scrolling to top as it seems to have been fixed on Google's end. + **v1.10.12.9** *(2015-06-03)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.9/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.9/builds/4chan-X-noupdate.crx "Chromium version")] - Update for captcha changes. - Work around issue where the captcha causes scrolling to the top of the page. 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())