1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 16:42:26 +01:00

use "inline" for the location of inline alternate stylesheets in the completion list - accidentally removed in last related commit

This commit is contained in:
Doug Kearns
2008-12-10 13:47:30 +11:00
parent fe6cb037b3
commit ea1049ee90

View File

@@ -1169,10 +1169,10 @@ function Completion() //{{{
let styles = {};
buffer.alternateStyleSheets.forEach(function (style) {
if (style.title in styles)
styles[style.title].push(style.href);
else
styles[style.title] = [style.href];
if (!(style.title in styles))
styles[style.title] = [];
styles[style.title].push(style.href || "inline");
});
context.completions = [[s, styles[s].join(", ")] for (s in styles)];