mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-15 23:13:34 +01:00
Register support with a crude kill ring.
This commit is contained in:
@@ -819,7 +819,7 @@ var RangeFind = Class("RangeFind", {
|
||||
let start = a.compareBoundaryPoints(a.START_TO_START, b) < 0 ? a : b;
|
||||
let end = a.compareBoundaryPoints(a.END_TO_END, b) > 0 ? a : b;
|
||||
let res = start.cloneRange();
|
||||
res.setEnd(end.startContainer, end.endOffset);
|
||||
res.setEnd(end.endContainer, end.endOffset);
|
||||
return res;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user