Skip to content

Commit

Permalink
fix rrweb-io#452 check isBlocked on add mutation's target
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuyz0112 authored and eoghanmurray committed Jan 19, 2021
1 parent dc7d13e commit 5a8dcaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/record/mutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ export default class MutationBuffer {
if (isBlocked(n, this.blockClass)) {
return;
}
if (target && isBlocked(target, this.blockClass)) {
return;
}
if (isINode(n)) {
if (isIgnored(n)) {
return;
Expand Down

0 comments on commit 5a8dcaa

Please sign in to comment.