From aec00dd4be75df1b0b6562e4bd851abfe66aae37 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 28 Dec 2010 14:58:58 -0500 Subject: [PATCH] Fix bug in last commit. --HG-- branch : bootstrapped --- common/content/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/events.js b/common/content/events.js index 02944678..666df991 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1097,7 +1097,7 @@ var Events = Module("events", { let candidates = mappings.getCandidates(this.main, command); if (candidates.length == 0 && !map) { - map = this.pendingMap; + [map, command] = this.pendingMap || []; this.pendingMap = null; if (map && map.arg) this.pendingArgMap = map;