]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/openlayers.js.erb
Refactor note add/update code
[rails.git] / app / assets / javascripts / openlayers.js.erb
index ebb9578a3f3b1bc709c9e8b59e2fbbc326d56f94..66d991f82039160658e322390a99b971d80362f8 100644 (file)
@@ -35,3 +35,5 @@ OpenLayers.Util.origGetImageLocation = OpenLayers.Util.getImageLocation;
 OpenLayers.Util.getImageLocation = function(image) {
     return OpenLayers.Util.imageURLs[image] || OpenLayers.Util.origGetImageLocation(image);
 };
+
+OpenLayers.Lang.setCode($('html').attr('lang'));