commit d1d62184be73c3616f38920007a40502c443a729
parent 62fa86af8217edadea3c1c3d7068c97deca43d40
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 12 Jul 2017 01:17:41 -0400
Fix potential error loading support links
From ZOTERO_CONFIG not being defined. I can't reproduce this, but I've
seen it in the logs.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js
@@ -156,6 +156,8 @@ const ZoteroStandalone = new function() {
* Handles help menu requests
*/
this.openHelp = function(type) {
+ Components.utils.import("resource://zotero/config.js");
+
switch (type) {
case "troubleshooting":
ZoteroPane.loadURI(ZOTERO_CONFIG.TROUBLESHOOTING_URL);