summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-09-02 10:41:49 -0700
committerGitHub <noreply@github.com>2019-09-02 10:41:49 -0700
commite92af787d2bfba0262ffe09451f5cb15af3a5a90 (patch)
tree0a2d9fdf77de36f68b24d8fe43ad5c03b35e1467 /ext/fg/js/frontend.js
parent3c9f7ba15267f52dd1bf37cd8835e2f7b76819e7 (diff)
parent33076e9db9a4a4d6c33541dcfa6d76252ade95dc (diff)
Merge pull request #198 from toasted-nutbread/ignore-transparent-overlay-elements
Deep DOM scanning through transparent elements
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r--ext/fg/js/frontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 5a8d18c1..8a5c48d0 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -285,7 +285,7 @@ class Frontend {
return;
}
- const textSource = docRangeFromPoint(point);
+ const textSource = docRangeFromPoint(point, this.options);
let hideResults = !textSource || !textSource.containsPoint(point);
let searched = false;
let success = false;