This commit is contained in:
toasted-nutbread 2019-08-31 23:51:30 -04:00
parent c0bf6ff033
commit 33076e9db9

View File

@ -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;
}