Fix: Add timeout for wait metabox width
This commit is contained in:
parent
0a88f64e60
commit
f11d466ff0
@ -116,7 +116,10 @@
|
||||
|
||||
$(document).ready(function(){
|
||||
console.log($('#map_canvas').width());
|
||||
soundmap.initMap();
|
||||
// Add Timeout for wait load metabox
|
||||
setTimeout(function() {
|
||||
soundmap.initMap();
|
||||
}, 3000);
|
||||
});
|
||||
|
||||
}(jQuery));
|
||||
|
Loading…
Reference in New Issue
Block a user