1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 21:28:00 +01:00

Fix :pagestyle completion.

This commit is contained in:
Doug Kearns
2010-09-20 22:24:10 +10:00
parent 10d6a22518
commit 9dbb30c4a8

View File

@@ -1298,7 +1298,7 @@ const Buffer = Module("buffer", {
context.title = ["Stylesheet", "Location"];
// unify split style sheets
let styles = array.toObject([s.title, []] for (s in values(buffer.alternateStyleSheets)));
let styles = array.toObject([[s.title, []] for (s in values(buffer.alternateStyleSheets))]);
buffer.alternateStyleSheets.forEach(function (style) {
styles[style.title].push(style.href || "inline");