Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[desktop] Prevent the desktop app from getting stuck on viewing openstreetmap info

Manav Rathi9cb289e0020b
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx
index ab732d8b4f..d7e3b9e912 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx
@@ -13,7 +13,7 @@ const L = runningInBrowser()
const LAYER_TILE_URL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
const LAYER_TILE_ATTRIBUTION =
- '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors';
+ '&copy; <a target="_blank" rel="noopener" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors';
const ZOOM_LEVEL = 16;
const MapBoxContainer = styled("div")`