X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4d6533db32c747418e3014c93e87c7762acdbff5..8688edf992a909ca914834a00be58bbcd175f2e1:/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 %>