diff options
Diffstat (limited to 'ext/fg/js/range.js')
-rw-r--r-- | ext/fg/js/range.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/range.js b/ext/fg/js/range.js index a5c38e39..cf568a9c 100644 --- a/ext/fg/js/range.js +++ b/ext/fg/js/range.js @@ -79,7 +79,7 @@ class Range { } - static fromPos(point) { + static fromPoint(point) { const range = document.caretRangeFromPoint(point.x, point.y); return range === null ? null : new Range(range); } |