]> git.openstreetmap.org Git - rails.git/commitdiff
Remove hack that was needed to cope with our old asset tagging but
authorTom Hughes <tom@compton.nu>
Tue, 6 Oct 2009 17:26:51 +0000 (17:26 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 6 Oct 2009 17:26:51 +0000 (17:26 +0000)
which now does nothing except break installation in subdirectories.

public/javascripts/map.js

index 32953c4397213cfbd9dcc7e235ca40512d351ff2..a25ab1614d655adcca53d1299c14d8f717a23b9d 100644 (file)
@@ -13,12 +13,6 @@ var nonamekeys = {
    'www.openstreetmap.net': '0bd1654141c85d30b9c2ccdb5302f2e4'
 };
 
-OpenLayers._getScriptLocation = function () {
-  // Should really have this file as an erb, so that this can return
-  // the real rails root
-   return "/openlayers/";
-}
-
 function createMap(divName, options) {
    options = options || {};