mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Update farmOS-map.js to v0.2.0.
This commit is contained in:
parent
18ec6180f9
commit
30ce3a796f
2 changed files with 2 additions and 2 deletions
|
@ -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[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][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][type] = "get"
|
||||||
libraries[modernizr][download][url] = "http://github.com/Modernizr/Modernizr/archive/v2.8.3.zip"
|
libraries[modernizr][download][url] = "http://github.com/Modernizr/Modernizr/archive/v2.8.3.zip"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
if (settings.farm_map.maps) {
|
if (settings.farm_map.maps) {
|
||||||
settings.farm_map.maps.forEach(function (target) {
|
settings.farm_map.maps.forEach(function (target) {
|
||||||
$('#' + target, context).once('farm-map', function () {
|
$('#' + target, context).once('farm-map', function () {
|
||||||
farmOS.map.create(target);
|
farmOS.map.create(target, {});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue