diff --git a/modules/core/graph.js b/modules/core/graph.js index 9bfbd42f9..060f29cbd 100644 --- a/modules/core/graph.js +++ b/modules/core/graph.js @@ -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'); }