From a6551fa114d8b94f2278d9009b0569cf6e37dfb6 Mon Sep 17 00:00:00 2001 From: mourner Date: Wed, 26 Oct 2011 16:03:32 +0300 Subject: [PATCH] Fixed ROOT_URL regression --- src/Leaflet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Leaflet.js b/src/Leaflet.js index 05c8c34d..0876da69 100644 --- a/src/Leaflet.js +++ b/src/Leaflet.js @@ -24,7 +24,7 @@ if (matches[1] === 'include') { return '../../dist/'; } - return src.replace(leafletRe, ''); + return src.replace(leafletRe, '') + '/'; } } return '';