X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b812c070f127e8aacf6dd5dc2f5c0cae696ad3ac..1e169bca25d45546cf65705ec1ba8b8308cd3b94:/app/assets/javascripts/openlayers.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/openlayers.js.erb b/app/assets/javascripts/openlayers.js.erb index ebb9578a3..66d991f82 100644 --- a/app/assets/javascripts/openlayers.js.erb +++ b/app/assets/javascripts/openlayers.js.erb @@ -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'));