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))