diff --git a/package.json b/package.json index 8e67149..dba4058 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,11 @@ "watch-css": "sass src/scss/main.scss public/style.css --watch --style=expanded --source-map", "dev-with-css": "concurrently \"npm run watch-css\" \"npm run dev\"", "dev-with-css:ts": "concurrently \"npm run watch-css\" \"npm run dev:ts\"", - "build": "npm run build:ts && npm run build-css && npm run build:frontend && npm run copy-i18n", + "build": "npm run generate-version && npm run build:ts && npm run build-css && npm run build:frontend && npm run copy-i18n", "build:ts": "tsc", "copy-i18n": "mkdir -p dist/i18n/locales && cp -r src/i18n/locales/* dist/i18n/locales/", - "test": "jest --runInBand --forceExit", + "generate-version": "node scripts/generate-version.js", + "test": "jest --runInBand --forceExit --detectOpenHandles", "test:coverage": "jest --coverage", "lint": "eslint src/ tests/", "lint:fix": "eslint src/ tests/ --fix", diff --git a/public/admin.html b/public/admin.html index 41a6400..a59398b 100644 --- a/public/admin.html +++ b/public/admin.html @@ -190,5 +190,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 @@ -175,6 +175,7 @@ placeholder="Enter address, intersection (e.g., Main St & Second St, City), or l +