www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 162c7198d3e49e3b8fdd7f75335402cf20940343
parent 65a39417bf931bf08a82ba7eda23b713e3909f9f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 16 Nov 2016 12:42:08 -0500

Fix console error in Standalone trying to load toolbar icon

Diffstat:
Mchrome/content/zotero/xpcom/zotero.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -430,6 +430,8 @@ Components.utils.import("resource://gre/modules/osfile.jsm"); var _addToolbarIcon = function () { + if (Zotero.isStandalone) return; + // Add toolbar icon try { Services.scriptloader.loadSubScript("chrome://zotero/content/icon.js", {}, "UTF-8");