Merge branch 'bstable'

This commit is contained in:
ccd0 2015-08-05 19:21:53 -07:00
commit 1e46662e2e
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.6
**v1.11.6.2** *(2015-08-05)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.6.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.6.2/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix bug where clicking on scrollbar of captcha image selection bubble could mess up the captcha.
**v1.11.6.1** *(2015-08-02)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.6.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.6.1/builds/4chan-X-noupdate.crx "Chromium version")]
- Update banner list.

View File

@ -155,7 +155,8 @@ QR =
$.off d, 'scroll', QR.scrollLock
inBubble: ->
d.activeElement in $$('.goog-bubble-content > iframe')
bubbles = $$ '.goog-bubble-content > iframe'
d.activeElement in bubbles or bubbles.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())