aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.js4
1 files 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);