Merge branch 'master' of git+ssh://taler.net/var/git/wallet-webex
This commit is contained in:
commit
a677ae2c4f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user