]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Set OpenLayers lang unobtrusively
[rails.git] / app / views / site / index.html.erb
index b7a9df068c618b042d522b389b3674abf2a50e0e..f604267d87c6b5da3fca1affe02631af954bd96f 100644 (file)
@@ -134,8 +134,6 @@ end
   var marker;
   var map;
 
-  OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
-
   function mapInit(){
     map = createMap("map");