js: insert maps once the page is fully loaded (#6609)
This makes sure the correct element height is known, and that avoids an half-gray zone in Chrome.
This commit is contained in:
parent
0be20c3a9c
commit
857287b0b9
|
@ -1,4 +1,4 @@
|
|||
$(function() {
|
||||
$(window).on('load', function() {
|
||||
$('.qommon-map').each(function() {
|
||||
var $map_widget = $(this);
|
||||
var map_options = Object();
|
||||
|
|
Loading…
Reference in New Issue