Fix: Add timeout for wait metabox width

This commit is contained in:
lrullo 2021-12-27 17:50:53 +01:00
parent 0a88f64e60
commit f11d466ff0

View File

@ -116,7 +116,10 @@
$(document).ready(function(){ $(document).ready(function(){
console.log($('#map_canvas').width()); console.log($('#map_canvas').width());
soundmap.initMap(); // Add Timeout for wait load metabox
setTimeout(function() {
soundmap.initMap();
}, 3000);
}); });
}(jQuery)); }(jQuery));