Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
acusti committed Oct 13, 2016
1 parent dc08b91 commit 3b85ce4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/renderers/dom/client/ReactInputSelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ var ReactInputSelection = {
activeElements: getElementsWithSelections().map(function(element) {
return {
element: element,
selectionRange:
ReactInputSelection.hasSelectionCapabilities(element) ?
ReactInputSelection.getSelection(element) :
null,
selectionRange: ReactInputSelection.getSelection(element),
};
}),
};
Expand Down

0 comments on commit 3b85ce4

Please sign in to comment.