Handle cases where current vertex disappears (fixes #2234)

This commit is contained in:
John Firebaugh
2014-05-27 11:25:24 -07:00
parent a796d4b1ea
commit e10bba980f
+3 -1
View File
@@ -119,7 +119,9 @@ iD.ui.preset.restrictions = function(field, context) {
}
function render() {
restrictions(selection);
if (context.hasEntity(vertexID)) {
restrictions(selection);
}
}
}