mirror of
https://github.com/bellingcat/instagram-location-search.git
synced 2026-06-12 20:38:30 +03:00
Add target=_blank to map URLs so they always open in new tab
This commit is contained in:
@@ -124,7 +124,7 @@ html_template = '''<html>
|
||||
}).addTo(map);
|
||||
|
||||
function onEachFeature(feature, layer) {
|
||||
layer.bindPopup(`<a href="https://www.instagram.com/explore/locations/` + feature.properties.external_id + `$date_var">` + feature.properties.name + `</a><br />` + feature.properties.address );
|
||||
layer.bindPopup(`<a href="https://www.instagram.com/explore/locations/` + feature.properties.external_id + `$date_var" target="_blank">` + feature.properties.name + `</a><br />` + feature.properties.address );
|
||||
}
|
||||
|
||||
L.geoJSON(locs, {
|
||||
|
||||
Reference in New Issue
Block a user