diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index e5cf1b9962..d98af39aea 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -139,7 +139,7 @@ def profile if @profile_user.has_power_tag("lat") && @profile_user.has_power_tag("lon") @map_lat = @profile_user.get_value_of_power_tag("lat").to_f @map_lon = @profile_user.get_value_of_power_tag("lon").to_f - @map_blurred = @profile_user.has_tag("location:blurred") + @map_blurred = @profile_user.has_tag("blurred:true") end if @user.status == 0 diff --git a/app/views/map/_userLeaflet.html.erb b/app/views/map/_userLeaflet.html.erb index 0c71a01d12..8886a2e828 100644 --- a/app/views/map/_userLeaflet.html.erb +++ b/app/views/map/_userLeaflet.html.erb @@ -1,17 +1,17 @@ -<% if haslocation == true %> - <% unique_id = rand(100) %> - -
- -<% else %> + + <% else %>
@@ -21,4 +21,4 @@ $('.blurred-location-input').click() ; } -<% end %> + <% end %>