mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-04 22:45:46 +01:00
Fix default value completion for options.
This commit is contained in:
@@ -957,7 +957,7 @@ const Options = Module("options", {
|
|||||||
context.title = ["Extra Completions"];
|
context.title = ["Extra Completions"];
|
||||||
context.completions = [
|
context.completions = [
|
||||||
[option.stringValue, "Current value"],
|
[option.stringValue, "Current value"],
|
||||||
[option.stringValue, "Default value"]
|
[option.stringDefaultValue, "Default value"]
|
||||||
].filter(function (f) f[0] !== "" && String(f[0]).length < 200);
|
].filter(function (f) f[0] !== "" && String(f[0]).length < 200);
|
||||||
context.quote = ["", util.identity, ""];
|
context.quote = ["", util.identity, ""];
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user