Skip to content

Commit

Permalink
Merge branch 'asset-event' of https://github.com/rrweb-io/rrweb into …
Browse files Browse the repository at this point in the history
…asset-event
  • Loading branch information
Juice10 committed Nov 27, 2023
2 parents 14e7494 + d9ff721 commit 13bfe1d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/rrweb/src/replay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1784,9 +1784,7 @@ export class Replayer {
}
}
const targetEl = target as Element | RRElement;
attributeName,
value,
);
targetEl.setAttribute(attributeName, value);
if (
this.assetManager.isAttributeCacheable(targetEl, attributeName)
) {
Expand Down Expand Up @@ -2184,9 +2182,6 @@ export class Replayer {

private backToNormal() {
this.nextUserInteractionEvent = null;
if (this.speedService.state.matches('normal')) {
return;
}
this.speedService.send({ type: 'BACK_TO_NORMAL' });
this.emitter.emit(ReplayerEvents.SkipEnd, {
speed: this.speedService.state.context.normalSpeed,
Expand Down

0 comments on commit 13bfe1d

Please sign in to comment.