aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/range.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/range.js b/ext/fg/js/range.js
index 182e242c..c4cabf4b 100644
--- a/ext/fg/js/range.js
+++ b/ext/fg/js/range.js
@@ -64,7 +64,7 @@ class Range {
}
compareOrigin(range) {
- return range.rng.compareBoundaryPoints(Range.END_TO_END, this.rng);
+ return range.rng.compareBoundaryPoints(Range.START_TO_START, this.rng);
}
static seekEnd(node, length) {