X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b812c070f127e8aacf6dd5dc2f5c0cae696ad3ac..b95f9115d7edf13ccdf8aac5e91251bf05d3084f:/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'));