diff --git a/folium/folium.py b/folium/folium.py index edec9d972a..23c7fd2ab5 100644 --- a/folium/folium.py +++ b/folium/folium.py @@ -25,7 +25,7 @@ ) _default_js = [ - ("leaflet", "https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"), + ("leaflet", "https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.js"), ("jquery", "https://code.jquery.com/jquery-3.7.1.min.js"), ( "bootstrap", @@ -38,7 +38,7 @@ ] _default_css = [ - ("leaflet_css", "https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"), + ("leaflet_css", "https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.css"), ( "bootstrap_css", "https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css", diff --git a/tests/selenium/test_multipoints_tooltip_selenium.py b/tests/selenium/test_multipoints_tooltip_selenium.py index 76d3ad4566..3a31dab8a0 100644 --- a/tests/selenium/test_multipoints_tooltip_selenium.py +++ b/tests/selenium/test_multipoints_tooltip_selenium.py @@ -59,7 +59,4 @@ def test_geojson_multipoint_tooltip(driver): tooltip = driver.wait_until(".leaflet-tooltip.foliumtooltip") assert "multipoint" in tooltip.text - # No verify_js_logs() here: Leaflet 1.9.3 (our pin) throws - # "t.getElement is not a function" from _addFocusListenersOnLayer for any - # GeoJSON layer containing a nested FeatureGroup, independent of this fix. - # Guarded upstream in 1.9.4. + driver.verify_js_logs()