mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 06:35:47 +01:00
Fix a typo in options.jsm.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user