From c7a2bb6848597999dabe9d21181b4cbd4d13518d Mon Sep 17 00:00:00 2001 From: Claude Code Date: Mon, 7 Jul 2025 22:21:11 -0400 Subject: [PATCH 1/6] Fix language selector disappearing on navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove missing theme-utils.js references from all HTML files - Fix double initialization in i18n.js causing language selector conflicts - Update service worker cache version to force fresh file loading - Language selector now persists when navigating via snowflake icon 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- public/admin.html | 1 - public/i18n.js | 1 - public/index.html | 2 -- public/privacy.html | 1 - public/sw.js | 2 +- 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/public/admin.html b/public/admin.html index c281bfd..41a6400 100644 --- a/public/admin.html +++ b/public/admin.html @@ -188,7 +188,6 @@ - diff --git a/public/i18n.js b/public/i18n.js index cb8f552..378a410 100644 --- a/public/i18n.js +++ b/public/i18n.js @@ -9,7 +9,6 @@ class I18nService { this.defaultLocale = 'en'; this.availableLocales = ['en', 'es-MX']; this.currentLocale = this.getStoredLocale() || this.detectBrowserLocale(); - this.loadTranslations(); } /** diff --git a/public/index.html b/public/index.html index 20bc4f0..813cc74 100644 --- a/public/index.html +++ b/public/index.html @@ -173,8 +173,6 @@ placeholder="Enter address, intersection (e.g., Main St & Second St, City), or l - - diff --git a/public/privacy.html b/public/privacy.html index 39544c3..b46ee36 100644 --- a/public/privacy.html +++ b/public/privacy.html @@ -139,7 +139,6 @@ - + diff --git a/public/app-mapbox.js b/public/app-mapbox.js index bea752e..25d50f6 100644 --- a/public/app-mapbox.js +++ b/public/app-mapbox.js @@ -1,5 +1,7 @@ document.addEventListener('DOMContentLoaded', async () => { - const map = L.map('map').setView([42.9634, -85.6681], 10); + const map = L.map('map', { + scrollWheelZoom: false + }).setView([42.9634, -85.6681], 10); L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, diff --git a/public/index.html b/public/index.html index 813cc74..49986b3 100644 --- a/public/index.html +++ b/public/index.html @@ -165,9 +165,9 @@ placeholder="Enter address, intersection (e.g., Main St & Second St, City), or l
-

Safety Notice: This is a community tool for awareness. Stay safe and know your rights.

+

Safety Notice: This is a community tool for awareness. Stay safe and know your rights.

- This website is for informational purposes only. Verify information independently. Reports are automatically deleted after 48 hours. • Privacy Policy + This website is for informational purposes only. Verify information independently. Reports are automatically deleted after 48 hours.Privacy Policy
@@ -175,6 +175,7 @@ placeholder="Enter address, intersection (e.g., Main St & Second St, City), or l +