diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-09-24 00:54:20 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-09-24 00:54:20 +0200 |
commit | f06a2b236d9bfe603106aa186145343d88e064bb (patch) | |
tree | b394b3ec1d2f673415ddb3915bd272c661e1326f | |
parent | d7e5aec1a556467a6bd3e6b2e3cf7440c6bd4ddc (diff) |
fix for firefox
-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 7ff36154c..934bc2a67 100644 --- a/lib/wallet/chromeBadge.ts +++ b/lib/wallet/chromeBadge.ts @@ -78,7 +78,7 @@ export class ChromeBadge implements Badge { 0, 0, this.canvas.width, this.canvas.height); // 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, |