@posthog/rrweb-player 0.0.47 → 0.0.48
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 +4 -1
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +4 -1
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +4 -1
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs +2 -2
- package/dist/rrweb-player.umd.min.cjs.map +3 -3
- package/package.json +3 -3
package/dist/rrweb-player.js
CHANGED
|
@@ -712,7 +712,10 @@ const pseudoClassPlugin = {
|
|
|
712
712
|
fixed.push(rule2);
|
|
713
713
|
rule2.selectors.forEach(function(selector) {
|
|
714
714
|
if (selector.includes(":hover")) {
|
|
715
|
-
|
|
715
|
+
const newSelector = selector.replace(new RegExp("(?<!\\\\):hover", "g"), ".\\:hover");
|
|
716
|
+
if (newSelector !== selector) {
|
|
717
|
+
rule2.selector += ",\n" + newSelector;
|
|
718
|
+
}
|
|
716
719
|
}
|
|
717
720
|
});
|
|
718
721
|
}
|