fix path harder

This commit is contained in:
Stefan Breunig
2013-02-18 12:39:40 +01:00
parent 4db13fef11
commit 77ad9cc3b7

View File

@ -251,8 +251,8 @@ function boot() {
window.runOnSmartphonesBeforeBoot();
// overwrite default Leaflet Marker icon to be a neutral color
var base = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/';
L.Icon.Default.imagePath = base + 'images';
var base = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/images';
L.Icon.Default.imagePath = base;
window.iconEnl = L.Icon.extend({options: { iconUrl: base + 'marker-green.png' } });
window.iconRes = L.Icon.extend({options: { iconUrl: base + 'marker-blue.png' } });