X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4d6533db32c747418e3014c93e87c7762acdbff5..7c5d0fff3d8aab23b17e32aa65f1f9e0beb95d3c:/app/views/browse/_map.html.erb diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index ff6ccae3c..d598847fc 100644 --- a/app/views/browse/_map.html.erb +++ b/app/views/browse/_map.html.erb @@ -3,6 +3,11 @@
<% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible %> + + <% content_for :head do %> + <%= javascript_include_tag "browse" %> + <% end %> + <% if map.instance_of? Changeset bbox = map.bbox.to_unscaled @@ -77,96 +82,3 @@ <% end %>
- -<% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible %> - -<% end %>