diff --git a/js/id/ui/entity_editor.js b/js/id/ui/entity_editor.js index de0032207..9d5c67d88 100644 --- a/js/id/ui/entity_editor.js +++ b/js/id/ui/entity_editor.js @@ -159,18 +159,5 @@ iD.ui.EntityEditor = function(context) { return entityEditor; }; - entityEditor.close = function() { - // Blur focused element so that tag changes are dispatched - // See #1295 - document.activeElement.blur(); - - // Firefox incorrectly implements blur, so typeahead elements - // are not correctly removed. Remove any stragglers manually. - d3.selectAll('div.typeahead').remove(); - - context.history() - .on('change.entity-editor', null); - }; - return d3.rebind(entityEditor, event, 'on'); }; diff --git a/js/id/ui/inspector.js b/js/id/ui/inspector.js index f0d88b504..ba14e87b7 100644 --- a/js/id/ui/inspector.js +++ b/js/id/ui/inspector.js @@ -61,12 +61,6 @@ iD.ui.Inspector = function(context) { } } - inspector.close = function(selection) { - entityEditor.close(); - - selection.style('display', 'none'); - }; - inspector.state = function(_) { if (!arguments.length) return state; state = _;