From c3f33601c6171db4a2d18878bbbb9580cd259ef4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 21 Jan 2024 15:52:01 +0100 Subject: Fix minor JS styling issues. --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index aa4427f..77d2bdf 100644 --- a/main.js +++ b/main.js @@ -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); -- cgit v1.2.3