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:
parent
62fa86af82
commit
d1d62184be
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue