mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 23:47:58 +01:00
Fix :pagestyle completion.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user