Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Juice10 committed Nov 27, 2023
1 parent 9000ed5 commit d9ff721
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 d9ff721

Please sign in to comment.