aboutsummaryrefslogtreecommitdiff
path: root/lib/wallet
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-24 01:31:57 +0200
committerChristian Grothoff <christian@grothoff.org>2016-09-24 01:31:57 +0200
commita677ae2c4f15199fb04387509cbb837f6309ce9c (patch)
tree6782d765c67121ef6555ae1bcfbb0006f16f632f /lib/wallet
parent760952ee6e7734e22d9b644f7f1bbb907213586e (diff)
parentf06a2b236d9bfe603106aa186145343d88e064bb (diff)
Merge branch 'master' of git+ssh://taler.net/var/git/wallet-webex
Diffstat (limited to 'lib/wallet')
-rw-r--r--lib/wallet/chromeBadge.ts2
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,