mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:38:00 +01:00
Fix #243
This commit is contained in:
@@ -1699,7 +1699,7 @@ function Completion() //{{{
|
|||||||
option: function option(context, scope)
|
option: function option(context, scope)
|
||||||
{
|
{
|
||||||
context.title = ["Option"];
|
context.title = ["Option"];
|
||||||
context.keys = { text: "names", description: "description" };
|
context.keys = { text: "fullMenuPath", description: function (item) item.getAttribute("label") };
|
||||||
context.completions = options;
|
context.completions = options;
|
||||||
if (scope)
|
if (scope)
|
||||||
context.filters.push(function ({ item: opt }) opt.scope & scope);
|
context.filters.push(function ({ item: opt }) opt.scope & scope);
|
||||||
|
|||||||
Reference in New Issue
Block a user