X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/8258a52336c84b5bce8352334f5e356543df1b57..52fe1d9f23298721943804931f2df9e42d1a09cc:/src/pages/ReversePage.svelte?ds=sidebyside

diff --git a/src/pages/ReversePage.svelte b/src/pages/ReversePage.svelte
index 987f206..fe65b64 100644
--- a/src/pages/ReversePage.svelte
+++ b/src/pages/ReversePage.svelte
@@ -24,7 +24,7 @@
       format: 'jsonv2'
     };
 
-    if (api_request_params.lat || api_request_params.lat) {
+    if (api_request_params.lat && api_request_params.lon) {
 
       fetch_from_api('reverse', api_request_params, function (data) {
         position_marker = [api_request_params.lat, api_request_params.lon];
