diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 5f7ee1db..b888c742 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -832,22 +832,25 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { overlayMap["index"] = ['text/xml;charset=UTF-8', '\n' + - '\n' + + { template.map(dactyl.indices, function ([name, iter])
{ template.map(iter(), util.identity) - }
, <>{"\n\n"}) + - '\n
']; + }, <>{"\n\n"}) + }
]; addTags("index", util.httpGet("dactyl://help-overlay/index").responseXML); overlayMap["gui"] = ['text/xml;charset=UTF-8', '\n' + - '\n' + - '
\n' + - template.map(config.dialogs, function ([name, val]) - ((!val[2]) || (val[2] && val[2]())) && - <>
{name}
{val[0]}
, <>{"\n"}) + - '
\n
']; + +
{ + template.map(config.dialogs, function ([name, val]) + (!val[2] || val[2]()) + ? <>
{name}
{val[0]}
+ : undefined, + <>{"\n"}) + }
+
]; this.helpInitialized = true;