From 689cc0319d8d4348c1bb8f6707a01ed8532de3a0 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 21 Nov 2025 16:41:24 +0000 Subject: [PATCH] Fix bad JS for marker rendering --- templates/components/map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/components/map.html b/templates/components/map.html index a969cf49..75e8a175 100644 --- a/templates/components/map.html +++ b/templates/components/map.html @@ -13,8 +13,8 @@ function mapMarkers() { const markers = [ {{ range .Markers }} new mapboxgl.Marker().setLngLat([{{.LatLng.Lng}}, {{.LatLng.Lat}}]) - ]; {{end}} + ]; return markers; }