From 4de32441d7baa5010c0f3dabcb3b1f70aec60cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Wed, 1 Dec 2010 02:22:16 +0100 Subject: [PATCH] Fix :set! value completion. --- 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 36c6a26c..bca25522 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -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; }