X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/d429667c4eb8ef7968a96612b3615ccf0bb1fccc..ecea2eedea2d87492f28ca713c2c1a4b7382256c:/src/components/SearchSection.svelte diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index 0246605..e7520ad 100644 --- a/src/components/SearchSection.svelte +++ b/src/components/SearchSection.svelte @@ -69,7 +69,7 @@ } function set_dedupe(e) { - document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : ''; + document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : 0; } function set_api_param(e) { @@ -79,30 +79,32 @@