diff options
Diffstat (limited to 'lib/wallet')
-rw-r--r-- | lib/wallet/chromeBadge.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wallet/chromeBadge.ts b/lib/wallet/chromeBadge.ts index 79a2d6c10..21e56a4b2 100644 --- a/lib/wallet/chromeBadge.ts +++ b/lib/wallet/chromeBadge.ts @@ -136,7 +136,7 @@ export class ChromeBadge implements Badge { this.ctx.translate(-this.canvas.width / 2, -this.canvas.height / 2); // Allow running outside the extension for testing - if (chrome && chrome.browserAction) { + if (window["chrome"] && window.chrome["browserAction"]) { let imageData = this.ctx.getImageData(0, 0, this.canvas.width, |