1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 22:37:58 +01:00

fix typo in v.mappings.hasMap

This commit is contained in:
Doug Kearns
2007-11-29 13:10:57 +00:00
parent d9acf8c24b
commit a32a13755c

View File

@@ -192,7 +192,7 @@ vimperator.Mappings = function () //{{{
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)