Skip to content

Commit

Permalink
Mollify jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
systemed committed Feb 12, 2015
1 parent ea0cd40 commit ff1597f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/id/actions/delete_way.js
Expand Up @@ -37,7 +37,7 @@ iD.actions.DeleteWay = function(wayId) {
var disabled = false;
graph.parentRelations(way)
.forEach(function(parent) {
if (reltypes.indexOf(parent.tags['type'])>-1) {
if (reltypes.indexOf(parent.tags.type)>-1) {
disabled = 'part_of_relation';
}
});
Expand Down

0 comments on commit ff1597f

Please sign in to comment.