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