mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
Fix closing inspector after delete
This commit is contained in:
@@ -138,7 +138,7 @@ iD.modes.Select = function (entity) {
|
||||
mode.exit = function () {
|
||||
var surface = mode.map.surface;
|
||||
|
||||
changeTags(entity, inspector.tags());
|
||||
entity && changeTags(entity, inspector.tags());
|
||||
d3.select('.inspector-wrap')
|
||||
.style('display', 'none')
|
||||
.html('');
|
||||
|
||||
Reference in New Issue
Block a user