use capture for esc in select mode

so that the mode can be escaped even if
a text input is focused
This commit is contained in:
Ansis Brammanis
2013-03-10 21:27:49 -04:00
parent 711b867b61
commit 8406b7de80
+1 -1
View File
@@ -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) {