mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-03 13:38:04 +02:00
View on osm in new page
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user