X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/605c700895e291fe88ba5821ab3c4ebbd829ad52..354cadfbe77a3234c5364243de0f52ae06420397:/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 %>