diff options
Diffstat (limited to 'ext/fg/js')
-rw-r--r-- | ext/fg/js/document.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js index 71a3d7f2..bd876e5d 100644 --- a/ext/fg/js/document.js +++ b/ext/fg/js/document.js @@ -219,7 +219,7 @@ function isPointInRange(x, y, range) { range.setStart(node, offset); if (!isWhitespace(content) && isPointInAnyRect(x, y, range.getClientRects())) { - // This purposefully leaves the starting offset as modified and sets teh range length to 0. + // This purposefully leaves the starting offset as modified and sets the range length to 0. range.setEnd(node, offset); return true; } |