Skip to content

Commit 267bf79

Browse files
megboehlertgithub-actions[bot]
authored andcommitted
Apply formatting changes
1 parent 66eeb13 commit 267bf79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/rrweb-snapshot/src/snapshot.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,9 @@ function onceIframeLoaded(
343343
}
344344
// check blank frame for Chrome
345345
const blankUrl = 'about:blank';
346-
if ((iframeEl.src === blankUrl ||
347-
(iframeEl.src !== blankUrl && win.location.href !== blankUrl)) &&
346+
if (
347+
(iframeEl.src === blankUrl ||
348+
(iframeEl.src !== blankUrl && win.location.href !== blankUrl)) &&
348349
readyState === 'complete'
349350
) {
350351
// iframe was already loaded, make sure we wait to trigger the listener

0 commit comments

Comments
 (0)