diff --git a/web/static/map.js b/web/static/map.js index f15b281..978cc60 100644 --- a/web/static/map.js +++ b/web/static/map.js @@ -2,7 +2,9 @@ 'use strict'; const container = document.getElementById('campground_map'); - container.style.height = '80vh'; + if (!container) { + console.warn('could not find map container'); + } const svg = container.childNodes[0]; svg.remove();