From 260a8aad1bfad1505930d9534b47f01f8d3620c5 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 19 Jan 2011 19:59:34 -0500 Subject: [PATCH] Fix inadvertant and irritating passing of . --HG-- extra : rebase_source : daf8607035497732a200977c335e24fc5e2824f6 --- common/content/events.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/content/events.js b/common/content/events.js index 2ec56994..fb3b1e61 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1019,6 +1019,9 @@ var Events = Module("events", { refeed.shift(); } + if (Events.isEscape(key) && !shouldPass()) + res = Events.KILL; + if (res !== Events.PASS) kill(event);