Update farmOS-map.js to v0.2.0.
This commit is contained in:
parent
18ec6180f9
commit
30ce3a796f
|
@ -206,7 +206,7 @@ libraries[easy-responsive-tabs][download][type] = "get"
|
|||
libraries[easy-responsive-tabs][download][url] = "https://github.com/samsono/Easy-Responsive-Tabs-to-Accordion/archive/1.2.2.zip"
|
||||
|
||||
libraries[farmOS-map][download][type] = "get"
|
||||
libraries[farmOS-map][download][url] = "https://github.com/farmOS/farmOS-map/releases/download/v0.1.0/v0.1.0-dist.zip"
|
||||
libraries[farmOS-map][download][url] = "https://github.com/farmOS/farmOS-map/releases/download/v0.2.0/v0.2.0-dist.zip"
|
||||
|
||||
libraries[modernizr][download][type] = "get"
|
||||
libraries[modernizr][download][url] = "http://github.com/Modernizr/Modernizr/archive/v2.8.3.zip"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
if (settings.farm_map.maps) {
|
||||
settings.farm_map.maps.forEach(function (target) {
|
||||
$('#' + target, context).once('farm-map', function () {
|
||||
farmOS.map.create(target);
|
||||
farmOS.map.create(target, {});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue