X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/00375024263970a43ea7d39e3c65dfd0f32e8869..6ab52cd256200176b5d37cbf8b2d65b89e61762c:/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 615200b5e..979ae7681 100644 --- a/app/views/site/_home_link.html.erb +++ b/app/views/site/_home_link.html.erb @@ -1,5 +1,12 @@ <% 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 }, + :title => t("layouts.home_tooltip") %> <% end %> <% end %>