From 9b9e857b726d4a45af5e1b760ac1639cd31f0280 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Oct 2024 18:41:43 +0000 Subject: [PATCH] Adjust imports for leaflet.locatecontrol --- app/assets/javascripts/index.js | 2 +- app/assets/javascripts/user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 4f3c414f5..2b29992e9 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -1,7 +1,7 @@ //= 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 diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index 681ec3ace..b94db8b55 100644 --- a/app/assets/javascripts/user.js +++ b/app/assets/javascripts/user.js @@ -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 () { -- 2.39.5