X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/5830c5cca0c3c6febc2ad3f2c804cc3d773e594a..2a34127a122a0d415a1cabb8de8e80a91b3dc017:/src/components/SearchSection.svelte?ds=sidebyside

diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte
index e7520ad..e50bbdf 100644
--- a/src/components/SearchSection.svelte
+++ b/src/components/SearchSection.svelte
@@ -95,7 +95,8 @@
                type="text"
                class="form-control form-control-sm"
                placeholder="Search"
-               value="{api_request_params.q || ''}" />
+               value="{api_request_params.q || ''}"
+               autofocus />
       </div>
       <div class="col-auto">
         <button type="submit" class="btn btn-primary btn-sm mx-1">Search</button>
