1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

map event listener

This commit is contained in:
codecalm
2019-10-25 19:25:30 +02:00
parent aa9a9d3592
commit dce15cfccd

View File

@@ -7,7 +7,7 @@
<div id="map-{{ id }}" style="height: {{ height }}rem"></div>
{% capture_global scripts %}
<script>
$(document).ready(function () {
document.addEventListener("DOMContentLoaded", function() {
$('#map-{{ id }}').vectorMap({
map: '{{ data.map }}',
backgroundColor: 'transparent',