From e858568cd82dbc83fcffe63c054dbd4f55b282e6 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 24 Sep 2010 12:46:23 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20:set=20completion=20for=20"number"=20opti?= =?UTF-8?q?ons=E2=80=99=20default=20and=20current=20values.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/content/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/options.js b/common/content/options.js index f3f415bf..45525735 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -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); }); }