Skip to content

Commit

Permalink
Added target="_blank" to JOSM and iD links
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoby authored Feb 3, 2025
1 parent 81bc833 commit 53ac208
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ d3.json("imagery.geojson", function(error, imagery) {
'<h3>Available layers at this location:</h3>'+
matches.map(function(match) {
return match.feature.properties.name +
` [<a href="${idURL(match.feature, e)}" title="Add to iD">iD</a>] ` +
` [<a href="${josmURL(match.feature)}" title="Add to JOSM">JOSM</a>]`;
` [<a href="${idURL(match.feature, e)}" title="Add to iD" target="_blank">iD</a>] ` +
` [<a href="${josmURL(match.feature)}" title="Add to JOSM" target="_blank">JOSM</a>]`;
}).join('<br>'),
e.latlng
);
Expand Down

0 comments on commit 53ac208

Please sign in to comment.