Skip to content

Commit 2af52d8

Browse files
committed
chore: Reduce calls
1 parent 1f555e9 commit 2af52d8

File tree

1 file changed

+1
-1
lines changed
  • src/features/generic_events/aggregate

1 file changed

+1
-1
lines changed

src/features/generic_events/aggregate/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class Aggregate extends AggregateBase {
131131
}, this.featureName, this.ee)
132132
registerHandler('err', () => this.userActionAggregator.markAsErrorClick(), this.featureName, this.ee)
133133
registerHandler('xhr', (params) => { if (this.userActionAggregator.isEvaluatingDeadClick()) evalNetworkRequest.call(this, params.host) }, this.featureName, this.ee)
134-
registerHandler('navChange', () => this.userActionAggregator.treatAsLiveClick(), this.featureName, this.ee)
134+
registerHandler('navChange', () => { if (this.userActionAggregator.isEvaluatingDeadClick()) this.userActionAggregator.treatAsLiveClick() }, this.featureName, this.ee)
135135
}
136136

137137
/**

0 commit comments

Comments
 (0)