mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 04:47:59 +01:00
fix typo in v.mappings.hasMap
This commit is contained in:
@@ -192,7 +192,7 @@ vimperator.Mappings = function () //{{{
|
|||||||
|
|
||||||
hasMap: function (mode, cmd)
|
hasMap: function (mode, cmd)
|
||||||
{
|
{
|
||||||
return userMaps.some(function (map) { return map.hasName(cmd); });
|
return user[mode].some(function (map) { return map.hasName(cmd); });
|
||||||
},
|
},
|
||||||
|
|
||||||
add: function (map)
|
add: function (map)
|
||||||
|
|||||||
Reference in New Issue
Block a user