X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..35458c009652645972a9167d80aba1c4fdce82cf:/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 %>