mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 10:17:59 +01:00
Fix :set completion for "number" options’ default and current values.
This commit is contained in:
@@ -1144,7 +1144,7 @@ const Options = Module("options", {
|
||||
context.completions = [
|
||||
[option.value, "Current value"],
|
||||
[option.defaultValue, "Default value"]
|
||||
].filter(function (f) f[0] != "" && f[0].length < 200);
|
||||
].filter(function (f) f[0] !== "" && String(f[0]).length < 200);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user