Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Mar 28, 2019
1 parent f7e9a4a commit 27a66ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dom/src/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function isEdge( container, { isReverse, isVertical } ) {
const selection = window.getSelection();

if ( ! selection.rangeCount ) {
return;
return false;
}

const rangeRect = getRectangleFromRange( selection.getRangeAt( 0 ) );
Expand Down

0 comments on commit 27a66ab

Please sign in to comment.