Skip to content

Commit

Permalink
qm-prod: Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchiramoitra committed Sep 30, 2021
1 parent 5c07002 commit 5c20276
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integrations/QuantumMetric/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ class QuantumMetric {
}

isLoaded() {
if (!this._ready && window.QuantumMetricAPI) {
this._ready = true;
}
return this._ready;
}

isReady() {
return this._ready;
return this.isLoaded();
}
}

Expand Down

0 comments on commit 5c20276

Please sign in to comment.