1
0
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:
Kris Maglione
2009-11-05 04:23:29 -05:00
parent 336eb4fefa
commit 76e9b8c0ed
2 changed files with 3 additions and 3 deletions

View File

@@ -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");