@posthog/rrweb-player 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rrweb-player.cjs +6 -0
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +6 -0
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +6 -0
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs +6 -6
- package/dist/rrweb-player.umd.min.cjs.map +2 -2
- package/package.json +1 -1
|
@@ -4788,6 +4788,12 @@ function buildNodeWithSN(n2, options) {
|
|
|
4788
4788
|
} else {
|
|
4789
4789
|
node2.appendChild(childNode);
|
|
4790
4790
|
}
|
|
4791
|
+
} else if (n2.type === NodeType$1$1.Document && childN.type === NodeType$1$1.DocumentType) {
|
|
4792
|
+
if (node2.firstChild && node2.firstChild.nodeType === 1) {
|
|
4793
|
+
node2.insertBefore(childNode, node2.firstChild);
|
|
4794
|
+
} else {
|
|
4795
|
+
node2.appendChild(childNode);
|
|
4796
|
+
}
|
|
4791
4797
|
} else {
|
|
4792
4798
|
node2.appendChild(childNode);
|
|
4793
4799
|
}
|