diff --git a/_includes/sidebar_inquiry.liquid b/_includes/sidebar_inquiry.liquid index fb65766..a64c71d 100644 --- a/_includes/sidebar_inquiry.liquid +++ b/_includes/sidebar_inquiry.liquid @@ -27,10 +27,7 @@
-
- Call -
-
+
Directions
@@ -50,14 +47,14 @@
@@ -194,7 +191,7 @@ // } // Placeholder for Mapbox initialization if the location tab is active - if (tabId === 'location') { + if (tabId === 'directions') { // e.g., if (typeof mapboxgl !== 'undefined' && !mapInstanceInquiry) { // mapInstanceInquiry = new mapboxgl.Map({ container: 'mapbox-map-container-inquiry', style: 'YOUR_MAPBOX_STYLE_URL', center: [lng, lat], zoom: 15 }); // new mapboxgl.Marker().setLngLat([lng, lat]).addTo(mapInstanceInquiry);