mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
check if element is there
This commit is contained in:
parent
443459cb4e
commit
a75ef6d05b
1 changed files with 1 additions and 1 deletions
|
|
@ -920,7 +920,7 @@ function parseLoadedData(data) {
|
|||
});
|
||||
|
||||
markersGroup.style.display = null;
|
||||
defs.remove();
|
||||
defs?.remove();
|
||||
markerElements.forEach(el => el.remove());
|
||||
if (layerIsOn("markers")) drawMarkers();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue