Skip to content
Snippets Groups Projects
Commit 1a187e37 authored by catch's avatar catch
Browse files

Revert "Issue #3416141 by gorkagr, Jaypan, Wim Leers: big_pipe.js'...

Revert "Issue #3416141 by gorkagr, Jaypan, Wim Leers: big_pipe.js' checkMutation() does not check if node exists before using it"

This reverts commit 2d17900f.
parent 86aacdff
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,7 @@
*/
function checkMutation(node) {
return Boolean(
node &&
node.nodeType === Node.ELEMENT_NODE &&
node.nodeType === Node.ELEMENT_NODE &&
node.nodeName === 'SCRIPT' &&
node.dataset &&
node.dataset.bigPipeReplacementForPlaceholderWithId &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment