diff --git a/modules/osm/node.js b/modules/osm/node.js index 92bde1f32..03f7f8648 100644 --- a/modules/osm/node.js +++ b/modules/osm/node.js @@ -142,8 +142,8 @@ Object.assign(osmNode.prototype, { }, isCrossing: function(){ - return this.tags.highway === 'crossing' || - this.tags.railway && this.tags.railway.indexOf('crossing') !== -1; + return this.tags.highway === 'crossing' || + this.tags.railway && this.tags.railway.indexOf('crossing') !== -1; }, isEndpoint: function(resolver) {