1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 21:14:13 +01:00

Fix minefield.

This commit is contained in:
Kris Maglione
2014-09-16 13:19:54 -07:00
parent 0f41b99a03
commit 3ab2fcf8e6
11 changed files with 24 additions and 23 deletions

View File

@@ -380,7 +380,7 @@ var Help = Module("Help", {
addDataEntry(file + ".xhtml", data.join(""));
}
let data = [h for (h in highlight) if (styles.has(h.class) || /^Help/.test(h.class))]
data = [h for (h in highlight) if (styles.has(h.class) || /^Help/.test(h.class))]
.map(h => h.selector
.replace(/^\[.*?=(.*?)\]/, ".hl-$1")
.replace(/html\|/g, "") + "\t" + "{" + h.cssText + "}")