1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-02 23:04:13 +01:00

Fix closing menus on <Esc> broken in revision bf712a2498ed.

This commit is contained in:
Kris Maglione
2011-02-19 07:52:01 -05:00
parent 2cef435dbc
commit 5a519b2f9c
2 changed files with 7 additions and 4 deletions

View File

@@ -522,7 +522,10 @@ var Modes = Module("modes", {
mappings.add([modes.MENU], ["<Esc>"],
"Close the current popup",
function () Events.PASS);
function () {
modes.pop();
return Events.PASS_THROUGH;
});
mappings.add([modes.MENU], ["<C-[>"],
"Close the current popup",