diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-24 01:31:57 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-24 01:31:57 +0200 |
commit | a677ae2c4f15199fb04387509cbb837f6309ce9c (patch) | |
tree | 6782d765c67121ef6555ae1bcfbb0006f16f632f /lib/wallet/chromeBadge.ts | |
parent | 760952ee6e7734e22d9b644f7f1bbb907213586e (diff) | |
parent | f06a2b236d9bfe603106aa186145343d88e064bb (diff) | |
download | wallet-core-a677ae2c4f15199fb04387509cbb837f6309ce9c.tar.xz |
Merge branch 'master' of git+ssh://taler.net/var/git/wallet-webex
Diffstat (limited to 'lib/wallet/chromeBadge.ts')
-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, |