Skip to content
This repository has been archived by the owner on Sep 20, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/jquense/teaspoon
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Mar 19, 2016
2 parents 74bd9e6 + cdde017 commit 503f14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function getRootInstance(mountPoint){
}

export function findDOMNode(component){
return component instanceof HTMLElement
return component instanceof window.HTMLElement
? component
: component && component._rootID
? getNode(component._rootID)
Expand Down

0 comments on commit 503f14c

Please sign in to comment.