From 162c7198d3e49e3b8fdd7f75335402cf20940343 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 16 Nov 2016 12:42:08 -0500 Subject: [PATCH] Fix console error in Standalone trying to load toolbar icon --- chrome/content/zotero/xpcom/zotero.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 6843df52ee..0562d24a38 100644 --- 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");