diff --git a/CHANGELOG.md b/CHANGELOG.md index dec2cf229..f4a4ee8e2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,11 @@ Based on v1.9.21.9. - Minor fixes. +### v1.9.21.11 +*2015-01-31* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.11/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.11/builds/4chan-X-noupdate.crx "Chromium version")] + +- Fix bug in `Click Passthrough`: was being applied to images. + ### v1.9.21.10 *2015-01-31* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.10/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.10/builds/4chan-X-noupdate.crx "Chromium version")] diff --git a/src/Images/ImageCommon.coffee b/src/Images/ImageCommon.coffee index efda1df22..8028f82c2 100644 --- a/src/Images/ImageCommon.coffee +++ b/src/Images/ImageCommon.coffee @@ -82,7 +82,7 @@ ImageCommon = # XXX Estimate whether clicks are on the video controls and should be ignored. onControls: (e) -> - (Conf['Show Controls'] and Conf['Click Passthrough']) or + (Conf['Show Controls'] and Conf['Click Passthrough'] and e.target.nodeName is 'VIDEO') or (e.target.controls and e.target.getBoundingClientRect().bottom - e.clientY < 35) download: (e) ->