1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-01 14:32:25 +01:00

Fix :set! value completion.

This commit is contained in:
Štěpán Němec
2010-12-01 02:22:16 +01:00
parent ddaf246be6
commit 4de32441d7

View File

@@ -926,7 +926,7 @@ const Options = Module("options", {
context.completions = [
[prefs.get(filter), "Current Value"],
[prefs.getDefault(filter), "Default Value"]
].filter(function ([k]) k != null && k.length < 200);
].filter(function (k) k[0] != null && String(k[0]).length < 200);
return null;
}