1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 06:45:51 +01:00

Fix typo.

This commit is contained in:
Kris Maglione
2010-10-14 14:14:12 -04:00
parent c6c86fa858
commit 2a7847a0b2

View File

@@ -152,7 +152,7 @@ const Highlights = Module("Highlight", {
return class_.replace(/(^|\s)([A-Z]\w+)\b/g,
function (m, n1, hl) n1 +
(self.highlight[hl] && self.highlight[hl].class != class_
? self.highlight[hl] : "[dactyl|highlight~=" + hl + "]"));
? self.highlight[hl].selector : "[dactyl|highlight~=" + hl + "]"));
},
/**