summaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/document.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js
index d54a2e44..fa7e7cbc 100644
--- a/ext/fg/js/document.js
+++ b/ext/fg/js/document.js
@@ -106,8 +106,7 @@ function docElementsFromPoint(x, y, all) {
return e !== null ? [e] : [];
}
-function docRangeFromPoint(x, y, options) {
- const deepDomScan = options.scanning.deepDomScan;
+function docRangeFromPoint(x, y, deepDomScan) {
const elements = docElementsFromPoint(x, y, deepDomScan);
let imposter = null;
let imposterContainer = null;