Merge branch 'master' of git+ssh://taler.net/var/git/wallet-webex

This commit is contained in:
Christian Grothoff 2016-09-24 01:31:57 +02:00
commit a677ae2c4f

View File

@ -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,