Skip to content

Commit

Permalink
Remove broken link comment about detached node in IE9
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Apr 16, 2018
1 parent 2866670 commit af5650b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/react-dom/src/client/ReactDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,8 @@ const DOMRenderer = ReactFiberReconciler({
oldText: string,
newText: string,
): void {
// IE9 will raise an exception if modifying a detached text node
// eslint-disable-next-line
// https://connect.microsoft.com/IE/feedbackdetail/view/944330/invalid-argument-error-when-changing-nodevalue-of-a-text-node-removed-by-setting-innerhtml-on-an-ancestor
// IE9 will raise an exception if modifying the value of a
// detached text node
if (textInstance.parentNode) {
textInstance.nodeValue = newText;
}
Expand Down

0 comments on commit af5650b

Please sign in to comment.