Fix console error in Standalone trying to load toolbar icon
This commit is contained in:
parent
65a39417bf
commit
162c7198d3
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue