From: Tom Hughes Date: Tue, 6 Oct 2009 17:26:51 +0000 (+0000) Subject: Remove hack that was needed to cope with our old asset tagging but X-Git-Tag: live~6561 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1466ab3492ffce24744b32164d21c2d57e586eb9 Remove hack that was needed to cope with our old asset tagging but which now does nothing except break installation in subdirectories. --- diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 32953c439..a25ab1614 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -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 || {};