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
|
@ -156,6 +156,8 @@ const ZoteroStandalone = new function() {
|
||||||
* Handles help menu requests
|
* Handles help menu requests
|
||||||
*/
|
*/
|
||||||
this.openHelp = function(type) {
|
this.openHelp = function(type) {
|
||||||
|
Components.utils.import("resource://zotero/config.js");
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "troubleshooting":
|
case "troubleshooting":
|
||||||
ZoteroPane.loadURI(ZOTERO_CONFIG.TROUBLESHOOTING_URL);
|
ZoteroPane.loadURI(ZOTERO_CONFIG.TROUBLESHOOTING_URL);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user