File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/rrweb/src/replay Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -618,12 +618,12 @@ export class Replayer {
618618 // hide iframe before first meta event
619619 this . iframe . style . display = 'none' ;
620620 this . iframe . setAttribute ( 'sandbox' , attributes . join ( ' ' ) ) ;
621-
621+
622622 // Apply CSP if configured
623623 if ( this . config . csp ) {
624624 this . iframe . setAttribute ( 'csp' , this . config . csp ) ;
625625 }
626-
626+
627627 this . disableInteract ( ) ;
628628 this . wrapper . appendChild ( this . iframe ) ;
629629 if ( this . iframe . contentWindow && this . iframe . contentDocument ) {
@@ -1542,8 +1542,8 @@ export class Replayer {
15421542 const targetDoc = mutation . node . rootId
15431543 ? mirror . getNode ( mutation . node . rootId )
15441544 : this . usingVirtualDom
1545- ? this . virtualDom
1546- : this . iframe . contentDocument ;
1545+ ? this . virtualDom
1546+ : this . iframe . contentDocument ;
15471547 if ( isSerializedIframe < typeof parent > ( parent , mirror ) ) {
15481548 this . attachDocumentToIframe (
15491549 mutation ,
You can’t perform that action at this time.
0 commit comments