We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f31142a commit 0c26420Copy full SHA for 0c26420
packages/rrweb/src/record/mutation.ts
@@ -522,7 +522,7 @@ export default class MutationBuffer {
522
this.maskTextSelector,
523
) && value
524
? this.maskTextFn
525
- ? this.maskTextFn(value, getClosestElementForNode(m.target))
+ ? this.maskTextFn(value, closestElementOfNode(m.target))
526
: value.replace(/[\S]/g, '*')
527
: value,
528
node: m.target,
0 commit comments