Update farmOS-map.js to v0.2.0.

This commit is contained in:
Michael Stenta 2019-12-05 16:03:51 -05:00
parent 18ec6180f9
commit 30ce3a796f
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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, {});
});
});
}