mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 04:34:12 +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");
|
||||
|
||||
Reference in New Issue
Block a user