X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c9687b102bb6f544a034dc4d508bf0ae4a5fc221..c636646759d9c541f7baf19812be18d002a8ce1d:/src/components/ResultsList.svelte diff --git a/src/components/ResultsList.svelte b/src/components/ResultsList.svelte index 584e481..cf931cb 100644 --- a/src/components/ResultsList.svelte +++ b/src/components/ResultsList.svelte @@ -5,7 +5,7 @@ import Welcome from './Welcome.svelte'; import MapIcon from './MapIcon.svelte'; - export let reverse_search=false; + export let reverse_search = false; let aSearchResults; let iHighlightNum; @@ -39,7 +39,7 @@ function handleClick(e) { let result_el = e.target; - if (! result_el.className.match('result') ){ + if (!result_el.className.match('result')) { result_el = result_el.parentElement; } let pos = Number(result_el.dataset.position);