Expose the MAP variable at the global scope to ease debugging
This commit is contained in:
parent
66d2345841
commit
1eb0f352c9
1 changed files with 2 additions and 1 deletions
|
@ -2,8 +2,9 @@
|
|||
<div id="map"></div>
|
||||
<!-- djlint:off -->
|
||||
<script defer type="text/javascript">
|
||||
let MAP
|
||||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
let MAP = new L.U.Map("map", {{ map_settings|notag|safe }});
|
||||
MAP = new L.U.Map("map", {{ map_settings|notag|safe }});
|
||||
});
|
||||
</script>
|
||||
<!-- djlint:on -->
|
||||
|
|
Loading…
Reference in a new issue