1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-27 05:24:38 +04:00

capture_global map fix

This commit is contained in:
codecalm
2019-10-25 19:24:16 +02:00
committed by Alex Safian
parent cf7a3f39bb
commit 7ef9ee7559
+2
View File
@@ -5,6 +5,7 @@
{% if data %}
<div id="map-{{ id }}" style="height: {{ height }}rem"></div>
{% capture_global scripts %}
<script>
$(document).ready(function () {
$('#map-{{ id }}').vectorMap({
@@ -26,4 +27,5 @@
});
});
</script>
{% endcapture_global %}
{% endif %}