diff --git a/src/renderers/dom/shared/ReactDOMComponent.js b/src/renderers/dom/shared/ReactDOMComponent.js index 9494691605917..b9beeb9852ad3 100644 --- a/src/renderers/dom/shared/ReactDOMComponent.js +++ b/src/renderers/dom/shared/ReactDOMComponent.js @@ -222,9 +222,7 @@ function enqueuePutListener(inst, registrationName, listener, transaction) { ); } var containerInfo = inst._hostContainerInfo; - var isDocumentFragment = containerInfo._node && containerInfo._node.nodeType === DOC_FRAGMENT_TYPE; - var doc = isDocumentFragment ? containerInfo._node : containerInfo._ownerDocument; - listenTo(registrationName, doc); + listenTo(registrationName, containerInfo._node); transaction.getReactMountReady().enqueue(putListener, { inst: inst, registrationName: registrationName,