]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/_map.html.erb
Use a standard application.js bundle
[rails.git] / app / views / user / _map.html.erb
index 2d886527ccf437c2c2b0e5285af2776b9ef82a1f..c1ef0c6f05286785f9372e616722e40fa8dfc546 100644 (file)
@@ -13,15 +13,10 @@ else
 end
 %>
 
-<%= javascript_include_tag 'openlayers.js' %>
-<%= javascript_include_tag 'map.js' %>
-
 <script type="text/javascript">
   <!--
   var marker;
 
-  OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
-
   function init(){
     var centre = new OpenLayers.LonLat(<%= lon %>, <%= lat %>);
     <% if params[:scale].to_f > 0 then -%>