Skip to content

Commit

Permalink
Merge pull request civicrm#9 from seamuslee001/CRM-17402-Fuzion
Browse files Browse the repository at this point in the history
CRM-17402 Google Maps API sometimes tries to call initMap callback be…
  • Loading branch information
eileenmcnaughton committed Oct 15, 2015
2 parents cce2300 + fe0de19 commit d587418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/Contact/Form/Task/Map/Google.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{/if}
{assign var=defaultZoom value=16}
{literal}
<script src="//maps.googleapis.com/maps/api/js?{/literal}{if $mapKey}key={$mapKey}{/if}{literal}&sensor=false&callback=initMap" type="text/javascript"></script>
<script src="//maps.googleapis.com/maps/api/js?{/literal}{if $mapKey}key={$mapKey}{/if}{literal}&sensor=false&callback=initMap" type="text/javascript" defer="defer"></script>
<script type="text/javascript">
function initMap() {
var latlng = new google.maps.LatLng({/literal}{$center.lat},{$center.lng}{literal});
Expand Down

0 comments on commit d587418

Please sign in to comment.