X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/605c700895e291fe88ba5821ab3c4ebbd829ad52..621cb8a1effa92f6a9df1c387d035b22e16c7941:/app/views/site/_search.html.erb
diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb
index bcab7e404..c074a49a3 100644
--- a/app/views/site/_search.html.erb
+++ b/app/views/site/_search.html.erb
@@ -19,7 +19,7 @@
<%= form_tag url_for(:controller => :geocoder, :action => :search), :id => "search_form" do %>
<%= submit_tag t('site.search.submit_text') %>
- <%= text_field_tag :query, h(params[:query]), :tabindex => "1", :placeholder => t('site.search.search') %>
+ <%= text_field_tag :query, h(params[:query]), :tabindex => "1", :placeholder => t('site.search.search'), :autofocus => "autofocus" %>
<% end %>