X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4d6533db32c747418e3014c93e87c7762acdbff5..ee6e0d5c0baf90c1464b8f0301cfbafed6685f98:/app/views/browse/_map.html.erb diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index ff6ccae3c..d0e5af81e 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 @@ -58,7 +63,7 @@