From: Eric Grosso <19222193+ericgrosso@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:27:25 +0000 (+0100) Subject: Reverse page: update lat/lon test X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/9c4975070c1d72fd10c1dec2038f840df0026b96?ds=inline;hp=e7983651e9433cf93cd2e698afefd94360dd94ce Reverse page: update lat/lon test --- 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];