From 33c052e3974803580466bd795336a338342ce5e0 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Tue, 16 Dec 2014 16:10:50 +0100 Subject: [PATCH] Firefox: fix styling for toolbar button --- platform/firefox/frameModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js index 9aa9f7a..aed70d8 100644 --- a/platform/firefox/frameModule.js +++ b/platform/firefox/frameModule.js @@ -8,7 +8,7 @@ Components.utils['import']('resource://gre/modules/Services.jsm'); Components.utils['import']('resource://gre/modules/XPCOMUtils.jsm'); const Ci = Components.interfaces; -var appName; +let appName; try { throw new Error; } catch (ex) { appName = ex.fileName.match(/:\/\/([^\/]+)/)[1];