mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:57:58 +01:00
provide defaults for some optional config properties
This commit is contained in:
@@ -193,7 +193,7 @@ function Buffer() //{{{
|
||||
////////////////////// MAPPINGS ////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
var myModes = config.browserModes || [modes.NORMAL];
|
||||
var myModes = config.browserModes;
|
||||
|
||||
mappings.add(myModes, ["."],
|
||||
"Repeat the last key event",
|
||||
@@ -1454,7 +1454,7 @@ function Marks() //{{{
|
||||
////////////////////// MAPPINGS ////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
var myModes = config.browserModes || [modes.NORMAL];
|
||||
var myModes = config.browserModes;
|
||||
|
||||
mappings.add(myModes,
|
||||
["m"], "Set mark at the cursor position",
|
||||
|
||||
Reference in New Issue
Block a user