Skip to content

Commit

Permalink
revert mutation change
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Jul 20, 2024
1 parent c64cac0 commit 2a966f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rrweb/src/record/mutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ export default class MutationBuffer {
/**
* Make sure you check if `n`'s parent is blocked before calling this function
* */
private genAdds(n: Node, target?: Node) {
private genAdds = (n: Node, target?: Node) => {
// this node was already recorded in other buffer, ignore it
if (this.processedNodeManager.inOtherBuffer(n, this)) return;

Expand Down Expand Up @@ -774,7 +774,7 @@ export default class MutationBuffer {
});
}
}
}
};
}

/**
Expand Down

0 comments on commit 2a966f4

Please sign in to comment.