Clear inspector when closed

This commit is contained in:
Tom MacWright
2013-01-07 18:28:52 -05:00
parent 52312e28fd
commit d4af1032a3
+2 -1
View File
@@ -126,7 +126,8 @@ iD.modes.Select = function (entity) {
var surface = mode.map.surface;
d3.select('.inspector-wrap')
.style('display', 'none');
.style('display', 'none')
.html('');
behaviors.forEach(function(behavior) {
behavior.off(surface);