9.515
redigeringer
mNo edit summary Tag: Tilbagerullet |
mNo edit summary Tag: Tilbagerullet |
||
Linje 57: | Linje 57: | ||
// Function to adjust map container width on page load and resize | // Function to adjust map container width on page load and resize | ||
function adjustMapContainerWidth() { | function adjustMapContainerWidth() { | ||
var mapContainer = document. | var mapContainer = document.getElementById('custom-map-container'); | ||
if (mapContainer) { | if (mapContainer) { | ||
var screenWidth = window.innerWidth; | var screenWidth = window.innerWidth; |