X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56c972577b9cb4c4e435fe3025752d1cd9b26d56..4da22eee1acaa77e9059baf1eaa71f302d2ba20f:/public/javascripts/map.js diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 3e6d687b0..c2ddf9c39 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -13,7 +13,9 @@ var nonamekeys = { }; OpenLayers._getScriptLocation = function () { - return "openlayers/"; + // Should really have this file as an erb, so that this can return + // the real rails root + return "/openlayers/"; } function createMap(divName, options) {