mirror of
https://gitlab.com/mrubli/hugo-mod-leaflet.git
synced 2025-10-07 18:14:29 +00:00
static: css: Place attributions below the map they belong to
Previously all attributions were placed below the last map on the page.
This commit is contained in:
@@ -143,7 +143,7 @@ Elevation profile options:
|
|||||||
|
|
||||||
// Move the Leaflet attribution out of the map container
|
// Move the Leaflet attribution out of the map container
|
||||||
$('#map_attribution_{{ $uniqueId }}').append(
|
$('#map_attribution_{{ $uniqueId }}').append(
|
||||||
$('.leaflet-control-attribution')
|
$('#map_container_{{ $uniqueId }} .leaflet-control-attribution')
|
||||||
);
|
);
|
||||||
|
|
||||||
// Restore the map when clicking outside the maximized map
|
// Restore the map when clicking outside the maximized map
|
||||||
|
Reference in New Issue
Block a user