X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..c798fe416a60eb25f8390ca8a5ab22126dfc7155:/app/views/site/_home_link.html.erb diff --git a/app/views/site/_home_link.html.erb b/app/views/site/_home_link.html.erb index 4d781c123..e907b3fb1 100644 --- a/app/views/site/_home_link.html.erb +++ b/app/views/site/_home_link.html.erb @@ -1,5 +1,11 @@ <% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %> <% content_for :greeting do %> - <%= link_to t("layouts.home"), "#", :class => "set_position", :data => { :lat => @user.home_lat, :lon => @user.home_lon, :zoom => 15 }, :title => t("layouts.home_tooltip") %> + <%= link_to t("layouts.home"), + "#", + :id => "homeanchor", + :class => "set_position", + :data => { :lat => @user.home_lat, + :lon => @user.home_lon, + :zoom => 15 } %> <% end %> <% end %>