X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/914b358154479adf295e8ef794787f07aee50c3d..c5d1f3381dfa81b4aac2d24dd057143bafbf661c:/app/views/user/account.rhtml
diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml
index f4af984e9..bbede9fed 100644
--- a/app/views/user/account.rhtml
+++ b/app/views/user/account.rhtml
@@ -35,7 +35,7 @@
Contact |
<% @user.nearby(1,1).each do |nearby| %>
- <% nearest_str = "nearest.push( { 'display_name' : '#{nearby.display_name}', 'home_lat' : #{nearby.home_lat}, 'home_lon' : #{nearby.home_lon} } )" %>
+ <% nearest_str += "nearest.push( { 'display_name' : '#{nearby.display_name}', 'home_lat' : #{nearby.home_lat}, 'home_lon' : #{nearby.home_lon} } );\n" %>
<%= link_to nearby.display_name, :controller => 'user', :action => 'view', :display_name => nearby.display_name %> |
@@ -99,7 +99,6 @@