Remove dead code

This commit is contained in:
John Firebaugh
2013-02-12 11:05:53 -08:00
parent 7554c7445d
commit e92d991677
+1 -4
View File
@@ -188,14 +188,11 @@ iD.ui = function(context) {
};
history.on('change.editor', function() {
var undo = history.undoAnnotation(),
redo = history.redoAnnotation();
function refreshTooltip(selection) {
if (selection.property('disabled')) {
selection.call(undo_tooltip.hide);
} else if (selection.property('tooltipVisible')) {
if (selection.property('tooltipVisible')) {
selection.call(undo_tooltip.show);
}
}