mirror of
https://gitlab.com/mrubli/hugo-mod-leaflet.git
synced 2025-10-07 01:54:24 +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
|
||||
$('#map_attribution_{{ $uniqueId }}').append(
|
||||
$('.leaflet-control-attribution')
|
||||
$('#map_container_{{ $uniqueId }} .leaflet-control-attribution')
|
||||
);
|
||||
|
||||
// Restore the map when clicking outside the maximized map
|
||||
|
Reference in New Issue
Block a user