]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/SearchSectionDetails.svelte
fix Svelte accessibily linter warnings, no more autofocus
[nominatim-ui.git] / src / components / SearchSectionDetails.svelte
index 276b56af6acbf18b485bc4390253f809ca0fe087..def887386df64d9dd115cd0953b2574bb0acfb9b 100644 (file)
@@ -30,8 +30,7 @@
       <input type="edit"
              class="form-control form-control-sm me-1"
              pattern="^[NWRnwr]?[0-9]+$|.*openstreetmap.*"
-             value="{api_request_params.osmtype || ''}{api_request_params.osmid || ''}{api_request_params.place_id || ''}"
-             autofocus />
+             value="{api_request_params.osmtype || ''}{api_request_params.osmid || ''}{api_request_params.place_id || ''}" />
       </div>
     <div class="col-auto">
       <button type="submit" class="btn btn-primary btn-sm">Show</button>