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