From 88519c83f57b6646c11573938941b23232964471 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 24 Sep 2010 17:26:54 +1000 Subject: [PATCH] Fix setting of preferences to false via :set!. --- 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 5931534f..f3f415bf 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -1036,7 +1036,7 @@ const Options = Module("options", { else if (value == "true") value = true; else if (value == "false") - value = true; + value = false; else if (/^\d+$/.test(value)) value = parseInt(value, 10); options.setPref(name, value);