diff options
author | Alex Yatskov <FooSoft@users.noreply.github.com> | 2019-09-15 11:33:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 11:33:48 -0700 |
commit | e4fa658295e2149c63a51d623773bf348f21f0c5 (patch) | |
tree | c85f6790daec19dfb8111882e2ff191ebc144a49 /ext/mixed/js/display.js | |
parent | 4af9fc2b3bc83b160376034bee4e5ef21cf3b205 (diff) | |
parent | 0067dfeacc3ecaf1215f1b9026c500bff31761e6 (diff) |
Merge pull request #212 from toasted-nutbread/frontend-cleanup
Frontend cleanup
Diffstat (limited to 'ext/mixed/js/display.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 eca67b5e..ca1738a6 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -81,7 +81,7 @@ class Display { const {docRangeFromPoint, docSentenceExtract} = this.dependencies; const clickedElement = $(e.target); - const textSource = docRangeFromPoint({x: e.clientX, y: e.clientY}, this.options); + const textSource = docRangeFromPoint(e.clientX, e.clientY, this.options); if (textSource === null) { return false; } |