diff options
author | Alex Yatskov <FooSoft@users.noreply.github.com> | 2019-09-02 10:41:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02 10:41:49 -0700 |
commit | e92af787d2bfba0262ffe09451f5cb15af3a5a90 (patch) | |
tree | 0a2d9fdf77de36f68b24d8fe43ad5c03b35e1467 /ext/mixed/js | |
parent | 3c9f7ba15267f52dd1bf37cd8835e2f7b76819e7 (diff) | |
parent | 33076e9db9a4a4d6c33541dcfa6d76252ade95dc (diff) |
Merge pull request #198 from toasted-nutbread/ignore-transparent-overlay-elements
Deep DOM scanning through transparent elements
Diffstat (limited to 'ext/mixed/js')
-rw-r--r-- | ext/mixed/js/display.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index 4620e198..ebf56897 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -80,7 +80,7 @@ class Display { const {docRangeFromPoint, docSentenceExtract} = this.dependencies; const clickedElement = $(e.target); - const textSource = docRangeFromPoint({x: e.clientX, y: e.clientY}); + const textSource = docRangeFromPoint({x: e.clientX, y: e.clientY}, this.options); if (textSource === null) { return false; } |