Skip to content

Commit

Permalink
fix: disableFirefox config for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
ineo6 committed Aug 29, 2021
1 parent c6aa843 commit 8388439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export default class Analytics {
}

pushQueue(queue: any[]) {
if (this.isFirefox && this.disableFirefox) {
this.ga.send(queue);
if (this.isFirefox) {
!this.disableFirefox && this.ga.send(queue);
} else {
window._gaq.push(queue);
}
Expand Down

0 comments on commit 8388439

Please sign in to comment.