View on osm in new page

This commit is contained in:
Tom MacWright
2013-01-09 13:07:23 -05:00
parent 9fde54c2c7
commit 27a02ed5f5
+1
View File
@@ -60,6 +60,7 @@ iD.Inspector = function() {
selection.append('a')
.attr('href', 'http://www.openstreetmap.org/browse/' + entity.type + '/' + entity.osmId())
.attr('target', '_blank')
.text('View on OSM');
if (entity.type === 'way') {