Skip to content

Commit 0c26420

Browse files
committed
Fix
1 parent f31142a commit 0c26420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rrweb/src/record/mutation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ export default class MutationBuffer {
522522
this.maskTextSelector,
523523
) && value
524524
? this.maskTextFn
525-
? this.maskTextFn(value, getClosestElementForNode(m.target))
525+
? this.maskTextFn(value, closestElementOfNode(m.target))
526526
: value.replace(/[\S]/g, '*')
527527
: value,
528528
node: m.target,

0 commit comments

Comments
 (0)