From 29ce60821b1275973c54e86f0c083b2d793df9d8 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 2 Jul 2009 18:24:25 +1000 Subject: [PATCH] Fix typo in mappings.addUserMap - broken in 5a9b51a. --- common/content/mappings.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/content/mappings.js b/common/content/mappings.js index f575dc3d..65fb11e9 100644 --- a/common/content/mappings.js +++ b/common/content/mappings.js @@ -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