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