We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46b04a commit 313c8c5Copy full SHA for 313c8c5
packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js
@@ -780,7 +780,7 @@ const supportsMoveBefore =
780
// $FlowFixMe[prop-missing]: We're doing the feature detection here.
781
enableMoveBefore &&
782
typeof window !== 'undefined' &&
783
- typeof window.Node.prototype.moveBefore === 'function';
+ typeof window.Element.prototype.moveBefore === 'function';
784
785
export function appendChild(
786
parentInstance: Instance,
0 commit comments