[mod] oscar: get leaflet and jquery from NPM
easy to upgrade (package.json)
This commit is contained in:
@@ -114,7 +114,7 @@ $(document).ready(function(){
|
||||
}
|
||||
|
||||
// change default imagePath
|
||||
L.Icon.Default.imagePath = "./static/themes/oscar/img/map";
|
||||
L.Icon.Default.imagePath = "./static/themes/oscar/css/images/";
|
||||
|
||||
// init map
|
||||
var map = L.map(leaflet_target);
|
||||
|
||||
Reference in New Issue
Block a user