X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..28b4c624b884c06ef74dc2e86695abaa6cc268c9:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index cdd3160e8..6745f1b34 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -117,7 +117,10 @@

<%= t 'user.account.update home location on click' %> checked="checked" <% end %> id="updatehome" />

-
+ <% content_for :head do %> + <%= javascript_include_tag "user" %> + <% end %> + <%= content_tag "div", "", :id => "map", :class => "user_map set_location" %> @@ -128,8 +131,6 @@ <% end %> -<%= render :partial => 'map', :locals => { :setting_location => true, :show_other_users => false } %> - <% unless @user.data_public? %>

<%= t 'user.account.public editing note.heading' %>