1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-15 06:33:33 +01:00

Tend towards proportional fonts in :help.

This commit is contained in:
Kris Maglione
2010-12-29 18:36:22 -05:00
parent 13e22f7458
commit 353cad261d
4 changed files with 49 additions and 32 deletions

View File

@@ -86,8 +86,8 @@ var Highlights = Module("Highlight", {
_create: function (agent, args) {
let obj = Highlight.apply(Highlight, args);
if (!isArray(obj.default))
obj.set("default", obj.default.split(","));
if (!isArray(obj.sites))
obj.set("sites", obj.sites.split(","));
if (!isArray(obj.defaultExtends))
obj.set("defaultExtends", obj.defaultExtends.split(","));
obj.set("agent", agent);
@@ -253,6 +253,8 @@ var Highlights = Module("Highlight", {
if (bang)
highlight.style.enabled = true;
}, this);
for (let h in this)
h.style.css = h.css;
}
}, {
}, {