aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-21 15:52:01 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-21 18:59:03 +0100
commitc3f33601c6171db4a2d18878bbbb9580cd259ef4 (patch)
tree97e9ef22744c6a6adcd82852c83080e394f22201
parent88f11622bb09f742248b8ea5593ec81718275f50 (diff)
Fix minor JS styling issues.
-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);