Commit b7e5704803c7135e8a5f2f3181d5b29e636bd15f

Authored by Geoffrey PREUD'HOMME
1 parent d507524f

Map now initialize correctly

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
contact.php
... ... @@ -3,6 +3,7 @@
3 3 <p>Pour toute information, vous pouvez contacter Mme Pichonnat</p>
4 4 </div>
5 5 &nbsp;
  6 +&nbsp;
6 7 <div id="map-canvas"></div>
7 8 <script>
8 9 function initialize()
... ... @@ -16,5 +17,5 @@
16 17 }
17 18 var map = new google.maps.Map(mapCanvas, mapOptions)
18 19 }
19   - google.maps.event.addDomListener(window, 'load', initialize);
  20 + initialize()
20 21 </script>
... ...