]> git.openstreetmap.org Git - rails.git/commitdiff
Adjust imports for leaflet.locatecontrol
authorTom Hughes <tom@compton.nu>
Wed, 30 Oct 2024 18:41:43 +0000 (18:41 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 30 Oct 2024 18:41:43 +0000 (18:41 +0000)
app/assets/javascripts/index.js
app/assets/javascripts/user.js

index 4f3c414f5b85b207b399f4ed874bee7649e1ea92..2b29992e909892802c38092bbe36f611b8095be4 100644 (file)
@@ -1,7 +1,7 @@
 //= require_self
 //= require leaflet.sidebar
 //= require leaflet.sidebar-pane
 //= require_self
 //= require leaflet.sidebar
 //= require leaflet.sidebar-pane
-//= require leaflet.locatecontrol/src/L.Control.Locate
+//= require leaflet.locatecontrol/dist/L.Control.Locate.umd
 //= require leaflet.locate
 //= require leaflet.layers
 //= require leaflet.key
 //= require leaflet.locate
 //= require leaflet.layers
 //= require leaflet.key
index 681ec3ace82470b0caa52b7fd87562dbefa17f6a..b94db8b557e8fe7430be8e14fe490887fa107918 100644 (file)
@@ -1,4 +1,4 @@
-//= require leaflet.locatecontrol/src/L.Control.Locate
+//= require leaflet.locatecontrol/dist/L.Control.Locate.umd
 
 (function () {
   $(document).on("change", "#user_all", function () {
 
 (function () {
   $(document).on("change", "#user_all", function () {