Fix console error in Standalone trying to load toolbar icon

This commit is contained in:
Dan Stillman 2016-11-16 12:42:08 -05:00
parent 65a39417bf
commit 162c7198d3

View file

@ -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");