diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-03-14 10:06:09 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-03-14 10:06:09 -0400 |
commit | 0eb30aa83fe3767e375b7648395321b80a8c371e (patch) | |
tree | 8a59471b959f3259ce1c8ec5064d0d8e98e6366d | |
parent | bbb5f4e5419c799e938125c02fd373774c3cae1f (diff) | |
download | pentadactyl-0eb30aa83fe3767e375b7648395321b80a8c371e.tar.gz |
Fix a typo in options.jsm.
-rw-r--r-- | common/content/modes.js | 1 | ||||
-rw-r--r-- | common/modules/options.jsm | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/common/content/modes.js b/common/content/modes.js index 231de65f..a91149e0 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -98,7 +98,6 @@ var Modes = Module("modes", { char: "t", description: "Vim-like editing of input elements", bases: [this.COMMAND], - input: true, ownsFocus: true }, { onKeyPress: function (eventList) { 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)) |