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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user