diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-07-21 09:13:38 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-07-21 09:13:38 -0700 |
commit | 9589a68def1678bb08152f7f64407f30eb289005 (patch) | |
tree | a4f171bad97b9110b84883f550f4109875e4374e /ext/fg | |
parent | e4ecf11fc75d1103c29491dcd4edf24f0426366a (diff) |
Fixing range optimization
Diffstat (limited to 'ext/fg')
-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 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) { |