diff --git a/js/id/id.js b/js/id/id.js index 9d7fb38bf..3646ba074 100644 --- a/js/id/id.js +++ b/js/id/id.js @@ -192,7 +192,7 @@ window.iD = function(container) { .on('⌃+Z', function() { history.undo(); }) .on('⌘+⇧+Z', function() { history.redo(); }) .on('⌃+⇧+Z', function() { history.redo(); }) - .on('⌫', function(e) { e.preventDefault(); }); + .on('⌫', function() { d3.event.preventDefault(); }); d3.select(document) .call(keybinding);