Capture ⌘-S even in input fields (fixes #2409)

This commit is contained in:
John Firebaugh
2014-10-20 17:55:12 -07:00
parent 32b67e8c2c
commit 15e0c0a235
+1 -1
View File
@@ -34,7 +34,7 @@ iD.ui.Save = function(context) {
.text('0');
var keybinding = d3.keybinding('undo-redo')
.on(key, save);
.on(key, save, true);
d3.select(document)
.call(keybinding);