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.
This commit is contained in:
Dan Stillman 2017-07-12 01:17:41 -04:00
parent 62fa86af82
commit d1d62184be

View file

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