diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-17 20:56:32 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-17 20:56:32 -0500 |
commit | cab2a3998169040a6a6d5bda828d4a8af5592cd6 (patch) | |
tree | a6be708dfb0325d142befb19baad7c4f89891959 /ext/fg/js | |
parent | 4b5138b96ec2c85273d55cec6da41e36c5647e5d (diff) |
Simplify options passed to docRangeFromPoint
Diffstat (limited to 'ext/fg/js')
-rw-r--r-- | ext/fg/js/document.js | 3 |
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; |