Fix console error in Standalone trying to load toolbar icon
This commit is contained in:
parent
65a39417bf
commit
162c7198d3
|
@ -430,6 +430,8 @@ Components.utils.import("resource://gre/modules/osfile.jsm");
|
||||||
|
|
||||||
|
|
||||||
var _addToolbarIcon = function () {
|
var _addToolbarIcon = function () {
|
||||||
|
if (Zotero.isStandalone) return;
|
||||||
|
|
||||||
// Add toolbar icon
|
// Add toolbar icon
|
||||||
try {
|
try {
|
||||||
Services.scriptloader.loadSubScript("chrome://zotero/content/icon.js", {}, "UTF-8");
|
Services.scriptloader.loadSubScript("chrome://zotero/content/icon.js", {}, "UTF-8");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user