taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit f06a2b236d9bfe603106aa186145343d88e064bb
parent d7e5aec1a556467a6bd3e6b2e3cf7440c6bd4ddc
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sat, 24 Sep 2016 00:54:20 +0200

fix for firefox

Diffstat:
Mlib/wallet/chromeBadge.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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,