Skip to content
Snippets Groups Projects
Commit 2d17900f authored by catch's avatar catch
Browse files

Issue #3416141 by gorkagr, Jaypan, Wim Leers: big_pipe.js' checkMutation()...

Issue #3416141 by gorkagr, Jaypan, Wim Leers: big_pipe.js' checkMutation() does not check if node exists before using it
parent 46ed71cf
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,8 @@
*/
function checkMutation(node) {
return Boolean(
node.nodeType === Node.ELEMENT_NODE &&
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