diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-01-21 15:52:01 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-01-21 18:59:03 +0100 |
commit | c3f33601c6171db4a2d18878bbbb9580cd259ef4 (patch) | |
tree | 97e9ef22744c6a6adcd82852c83080e394f22201 | |
parent | 88f11622bb09f742248b8ea5593ec81718275f50 (diff) |
Fix minor JS styling issues.
-rw-r--r-- | main.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -612,7 +612,7 @@ map.addLayer(new VectorTileLayer({ elem.children.forEach(function(child) { child._layers.forEach((l) => elem._layers.push(l)); }); - }; + } }); })(layerHierarchy); @@ -673,7 +673,7 @@ map.addLayer(new VectorTileLayer({ if (child.children !== undefined && child.children.length > 0) { addAccordionGroup(li, child.children); - }; + } input.onclick = function(event) { return onClickFunction(child._layers, event); |