From 0eb30aa83fe3767e375b7648395321b80a8c371e Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 14 Mar 2011 10:06:09 -0400 Subject: Fix a typo in options.jsm. --- common/modules/options.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/modules/options.jsm') diff --git a/common/modules/options.jsm b/common/modules/options.jsm index 3809937e..dfa16cb5 100644 --- a/common/modules/options.jsm +++ b/common/modules/options.jsm @@ -64,7 +64,7 @@ var Option = Class("Option", { defaultValue = this.modules.config.defaults[this.name]; if (defaultValue !== undefined) { - if (this == "string") + if (this.type === "string") defaultValue = Commands.quote(defaultValue); if (isObject(defaultValue)) -- cgit v1.2.3