X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c636646759d9c541f7baf19812be18d002a8ce1d..1d4529afc54f8680d232d6b45b8b8857d1e48dac:/src/components/MapPosition.svelte?ds=sidebyside diff --git a/src/components/MapPosition.svelte b/src/components/MapPosition.svelte index 650514d..30d6bd9 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 @@