@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
package/dist/rrweb-player.cjs
CHANGED
|
@@ -4758,6 +4758,12 @@ function buildNodeWithSN(n2, options) {
|
|
|
4758
4758
|
} else {
|
|
4759
4759
|
node2.appendChild(childNode);
|
|
4760
4760
|
}
|
|
4761
|
+
} else if (n2.type === NodeType$1$1.Document && childN.type === NodeType$1$1.DocumentType) {
|
|
4762
|
+
if (node2.firstChild && node2.firstChild.nodeType === 1) {
|
|
4763
|
+
node2.insertBefore(childNode, node2.firstChild);
|
|
4764
|
+
} else {
|
|
4765
|
+
node2.appendChild(childNode);
|
|
4766
|
+
}
|
|
4761
4767
|
} else {
|
|
4762
4768
|
node2.appendChild(childNode);
|
|
4763
4769
|
}
|