Remove unused

This commit is contained in:
John Firebaugh
2013-05-31 14:30:57 -07:00
parent a51e932800
commit e98b489041
2 changed files with 0 additions and 19 deletions
-13
View File
@@ -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');
};
-6
View File
@@ -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 = _;