mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:57:59 +01:00
Popup and key processing reorganization.
This commit is contained in:
@@ -609,7 +609,7 @@ var Modes = Module("modes", {
|
||||
mappings.add([modes.MENU], ["<Esc>"],
|
||||
"Close the current popup",
|
||||
function () {
|
||||
if (modes.popup.active.length)
|
||||
if (events.popups.active.length)
|
||||
return Events.PASS_THROUGH;
|
||||
modes.pop();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user