Do not set campground_map’s height via JavaScript
It already has a height set via CSS; no need to overwrite it.
This commit is contained in:
parent
ca7d343810
commit
6f78ad944f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue