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:
Frédéric Péters 2015-03-04 09:18:08 +01:00
parent 0be20c3a9c
commit 857287b0b9
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
$(function() {
$(window).on('load', function() {
$('.qommon-map').each(function() {
var $map_widget = $(this);
var map_options = Object();