mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 02:15:46 +01:00
Fix typo in mappings.addUserMap - broken in 5a9b51a.
This commit is contained in:
@@ -156,6 +156,7 @@ function Mappings() //{{{
|
||||
|
||||
function addMap(map)
|
||||
{
|
||||
liberator.log(map)
|
||||
let where = map.isUserMap ? user : main;
|
||||
map.modes.forEach(function (mode) {
|
||||
if (!(mode in where))
|
||||
@@ -401,7 +402,7 @@ function Mappings() //{{{
|
||||
{
|
||||
keys = keys.map(expandLeader);
|
||||
extra = extra || {};
|
||||
extra.isUserCommand = true;
|
||||
extra.isUserMap = true;
|
||||
let map = new Map(modes, keys, description || "User defined mapping", action, extra);
|
||||
|
||||
// remove all old mappings to this key sequence
|
||||
|
||||
Reference in New Issue
Block a user