summaryrefslogtreecommitdiff
path: root/common/modules/options.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-08-19 15:20:15 -0400
committerKris Maglione <maglione.k@gmail.com>2011-08-19 15:20:15 -0400
commit4579a1fd16e3cafcb8970d286b9a8b48ad839100 (patch)
treec2e7fca6650887835e6afb5493bdcafe9b6158b0 /common/modules/options.jsm
parent05eac8c5c3bfdcb1689493e10b08e999ed791fb7 (diff)
downloadpentadactyl-4579a1fd16e3cafcb8970d286b9a8b48ad839100.tar.gz
Don't push pass through mode multiple times. Closes issue #641.
Diffstat (limited to 'common/modules/options.jsm')
-rw-r--r--common/modules/options.jsm4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/modules/options.jsm b/common/modules/options.jsm
index 828fd0ce..54b500df 100644
--- a/common/modules/options.jsm
+++ b/common/modules/options.jsm
@@ -798,8 +798,8 @@ var Options = Module("options", {
util.makeDTD(
iter(([["option", o.name, "default"].join("."),
o.type === "string" ? o.defaultValue.replace(/'/g, "''") :
- o.value === true ? "on" :
- o.value === false ? "off" : o.stringDefaultValue]
+ o.defaultValue === true ? "on" :
+ o.defaultValue === false ? "off" : o.stringDefaultValue]
for (o in self)),
([["option", o.name, "type"].join("."), o.type] for (o in self)),