Martin Raifer
2025-04-29 15:04:23 +02:00
parent 96746c2f7d
commit 68c3babb9a

View File

@@ -34,11 +34,6 @@ coreGraph.prototype = {
entity: function(id) {
var entity = this.entities[id];
//https://github.com/openstreetmap/iD/issues/3973#issuecomment-307052376
if (!entity) {
entity = this.entities.__proto__[id]; // eslint-disable-line no-proto
}
if (!entity) {
throw new Error('entity ' + id + ' not found');
}