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:
Martin Rubli
2023-10-16 19:36:26 +02:00
parent e899c078ee
commit f010baf633

View File

@@ -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