From 8406b7de801010d7c23c923737b6f9de11a2abfb Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Sun, 10 Mar 2013 21:27:49 -0400 Subject: [PATCH] use capture for esc in select mode so that the mode can be escaped even if a text input is focused --- js/id/modes/select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/modes/select.js b/js/id/modes/select.js index 9a4ead7ba..f3ed7b703 100644 --- a/js/id/modes/select.js +++ b/js/id/modes/select.js @@ -69,7 +69,7 @@ iD.modes.Select = function(context, selection, initial) { keybinding.on('⎋', function() { context.enter(iD.modes.Browse(context)); - }); + }, true); operations.forEach(function(operation) { operation.keys.forEach(function(key) {