fix: options as json

This commit is contained in:
relikd
2024-06-27 01:50:08 +02:00
parent b3a5d2678a
commit 880bca3501
2 changed files with 9 additions and 6 deletions

View File

@@ -3,6 +3,6 @@
<div id="{{ widget.attrs.id }}_map" style="width: 100%; height: 400px"></div>
<a href="" id="{{ widget.attrs.id }}_reset">Remove</a>
<script>
MapLocationInit("{{ widget.attrs.id }}", {{ widget.attrs.options|safe }});
MapLocationInit("{{ widget.attrs.id }}", {{ map_options|safe }});
</script>
</div>