X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c636646759d9c541f7baf19812be18d002a8ce1d..8299637b4b6b4f1d07c6c5d55c441108b8b71d84:/src/components/MapPosition.svelte?ds=inline

diff --git a/src/components/MapPosition.svelte b/src/components/MapPosition.svelte
index 650514d..074774d 100644
--- a/src/components/MapPosition.svelte
+++ b/src/components/MapPosition.svelte
@@ -53,7 +53,7 @@
 
 
   map_store.subscribe(map => {
-    if (!map) { return; }
+    if (!map) return;
 
     map.on('move', function () {
       display_map_position(map);
@@ -84,7 +84,7 @@
 <div id="map-position">
   <div id="map-position-inner">
     map center: {map_center}
-    <a target="_blank" href="{view_on_osm_link}">view on osm.org</a>
+    <a target="_blank" rel="noreferrer" href="{view_on_osm_link}">view on osm.org</a>
     <br>
     map zoom: {map_zoom}
     <br>
@@ -115,9 +115,6 @@
     text-align: right;
   }
 
-  
-  
-
   @media (max-width: 768px) {
     #map-position {
       top: 20px;
