mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-01 20:13:32 +02:00
Fix a typo in options.jsm.
This commit is contained in:
@@ -98,7 +98,6 @@ var Modes = Module("modes", {
|
|||||||
char: "t",
|
char: "t",
|
||||||
description: "Vim-like editing of input elements",
|
description: "Vim-like editing of input elements",
|
||||||
bases: [this.COMMAND],
|
bases: [this.COMMAND],
|
||||||
input: true,
|
|
||||||
ownsFocus: true
|
ownsFocus: true
|
||||||
}, {
|
}, {
|
||||||
onKeyPress: function (eventList) {
|
onKeyPress: function (eventList) {
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ var Option = Class("Option", {
|
|||||||
defaultValue = this.modules.config.defaults[this.name];
|
defaultValue = this.modules.config.defaults[this.name];
|
||||||
|
|
||||||
if (defaultValue !== undefined) {
|
if (defaultValue !== undefined) {
|
||||||
if (this == "string")
|
if (this.type === "string")
|
||||||
defaultValue = Commands.quote(defaultValue);
|
defaultValue = Commands.quote(defaultValue);
|
||||||
|
|
||||||
if (isObject(defaultValue))
|
if (isObject(defaultValue))
|
||||||
|
|||||||
Reference in New Issue
Block a user