aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-08-31 23:51:30 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-02 11:43:49 -0400
commit33076e9db9a4a4d6c33541dcfa6d76252ade95dc (patch)
tree0a2d9fdf77de36f68b24d8fe43ad5c03b35e1467 /ext
parentc0bf6ff0339c3cdbb4976a6df844c67d50f90835 (diff)
Fix typo
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/js/document.js2
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;
}