mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-08 13:55:46 +01:00
Fix help tags.
This commit is contained in:
@@ -1452,8 +1452,8 @@ const liberator = (function () //{{{
|
||||
function addTags(file, doc)
|
||||
{
|
||||
doc = XSLT.transformToDocument(doc);
|
||||
for (let elem in util.evaluateXPath("//liberator:tag/text()", doc))
|
||||
tagMap[elem.textContent] = file;
|
||||
for (let elem in util.evaluateXPath("//xhtml:a/@id", doc))
|
||||
tagMap[elem.value] = file;
|
||||
}
|
||||
|
||||
const XSLT = XSLTProcessor("chrome://liberator/content/help.xsl");
|
||||
|
||||
@@ -197,7 +197,7 @@ const config = { //{{{
|
||||
function ()
|
||||
{
|
||||
if (!document.getElementById("sidebar-box").hidden)
|
||||
toggleSidebar();
|
||||
window.toggleSidebar();
|
||||
},
|
||||
{ argCount: "0" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user