Skip to content

Commit

Permalink
Fix click outside
Browse files Browse the repository at this point in the history
  • Loading branch information
juspears committed Dec 9, 2015
1 parent 3538260 commit 2838650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function ownerDocument(componentOrElement) {
*/
function isNodeInRoot(node, root) {
node = ReactDOM.findDOMNode(node), root = ReactDOM.findDOMNode(root);
_isNodeInRoot(node, root);
return _isNodeInRoot(node, root);
}
function _isNodeInRoot(node, root){
while (node) {
Expand Down

0 comments on commit 2838650

Please sign in to comment.