From 0d18486fc779b09239ab5fcef6d7a5c27ed62a49 Mon Sep 17 00:00:00 2001 From: Luca Rullo Date: Wed, 14 Dec 2022 01:03:51 +0100 Subject: [PATCH] Update: LeafletJS library to 1.9.3 --- soundmap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soundmap.php b/soundmap.php index f6b5f21..c00aa62 100644 --- a/soundmap.php +++ b/soundmap.php @@ -180,8 +180,8 @@ if (!class_exists('Soundmap')){ }// admin_menu function enqueue_map_scripts(){ - wp_enqueue_script('leafletjs','https://unpkg.com/leaflet@1.6.0/dist/leaflet.js',array(),'1.6.0',TRUE); // add Leaflet.js - wp_enqueue_style('leafletcss',"https://unpkg.com/leaflet@1.6.0/dist/leaflet.css",array(),'1.6.0','all'); // add CSS Leaflet + wp_enqueue_script('leafletjs','https://unpkg.com/leaflet@1.9.3/dist/leaflet.js',array(),'1.9.3',TRUE); // add Leaflet.js + wp_enqueue_style('leafletcss',"https://unpkg.com/leaflet@1.9.3/dist/leaflet.css",array(),'1.9.3','all'); // add CSS Leaflet } function wp_enqueue_scripts(){