mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
Update to latest
This commit is contained in:
parent
8684c2315b
commit
f2198ef2d0
2 changed files with 3 additions and 2 deletions
|
@ -1139,7 +1139,8 @@ var rangeDoesStartAtBlockBoundary = function ( range, root ) {
|
||||||
// The cursor was right at the end of the document
|
// The cursor was right at the end of the document
|
||||||
if ( !nodeAfterCursor ) {
|
if ( !nodeAfterCursor ) {
|
||||||
nodeAfterCursor = getNodeBefore( startContainer, startOffset );
|
nodeAfterCursor = getNodeBefore( startContainer, startOffset );
|
||||||
if ( node.nodeType === TEXT_NODE && node.length ) {
|
if ( nodeAfterCursor.nodeType === TEXT_NODE &&
|
||||||
|
nodeAfterCursor.length ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue