diff options
-rw-r--r-- | common/content/completion.js | 4 | ||||
-rw-r--r-- | common/content/style.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/content/completion.js b/common/content/completion.js index 974cd7df..20cda4ea 100644 --- a/common/content/completion.js +++ b/common/content/completion.js @@ -1692,14 +1692,14 @@ function Completion() //{{{ { context.title = ["Menu Path", "Label"]; context.anchored = false; - context.keys = { text: "fullMenuPath", description: "label" }; + context.keys = { text: "fullMenuPath", description: function (item) item.getAttribute("label") }; context.completions = liberator.menuItems; }, option: function option(context, scope) { context.title = ["Option"]; - context.keys = { text: "fullMenuPath", description: function (item) item.getAttribute("label") }; + context.keys = { text: "names", description: "description" }; context.completions = options; if (scope) context.filters.push(function ({ item: opt }) opt.scope & scope); diff --git a/common/content/style.js b/common/content/style.js index 7d701918..004542f0 100644 --- a/common/content/style.js +++ b/common/content/style.js @@ -491,7 +491,7 @@ function Styles(name, store, serial) let (array = util.Array) { Styles.prototype = { - get sites() array([v.sites for ([k, v] in this.userSheets)]).flatten().uniq(), + get sites() array([v.sites for ([k, v] in this.userSheets)]).flatten().uniq().__proto__, completeSite: function (context, content) { let compl = []; |