Skip to content

Commit

Permalink
Merge branch 'juice10/record-dialog' of https://github.com/rrweb-io/r…
Browse files Browse the repository at this point in the history
…rweb into juice10/record-dialog
  • Loading branch information
Juice10 committed Jun 12, 2024
2 parents b71c8b7 + 25678f4 commit 05d4cf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rrweb/src/replay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,8 @@ export class Replayer {
const collectedIframes: AppendedIframe[] = [];
const collectedDialogs = new Set<HTMLDialogElement>();
const afterAppend = (builtNode: Node, id: number) => {
if (builtNode.nodeName === 'DIALOG') collectedDialogs.add(builtNode as HTMLDialogElement);
if (builtNode.nodeName === 'DIALOG')
collectedDialogs.add(builtNode as HTMLDialogElement);
this.collectIframeAndAttachDocument(collectedIframes, builtNode);
const sn = (mirror as TMirror).getMeta(builtNode as unknown as TNode);
if (
Expand Down

0 comments on commit 05d4cf0

Please sign in to comment.