From 9c4975070c1d72fd10c1dec2038f840df0026b96 Mon Sep 17 00:00:00 2001 From: Eric Grosso <19222193+ericgrosso@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:27:25 +0100 Subject: [PATCH 1/1] Reverse page: update lat/lon test --- src/pages/ReversePage.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.5