aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-google.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-21 13:39:58 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-21 13:41:24 +0100
commit96dd380147b497274a31ba2ee7ff2d8fffa9922a (patch)
treeb556c1d26f8f5cd2a62fc19a2d61aae09006111a /web/js/map-google.js
parente97a90eb5732530cfe1fa544643a7b5e05530fd2 (diff)
Move JS to jQuery.
Diffstat (limited to 'web/js/map-google.js')
-rw-r--r--web/js/map-google.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-google.js b/web/js/map-google.js
index ab9bb9042..742b55d47 100644
--- a/web/js/map-google.js
+++ b/web/js/map-google.js
@@ -1,4 +1,4 @@
-YAHOO.util.Event.onContentReady('map', function() {
+$(function(){
var centre = new google.maps.LatLng( fixmystreet.latitude, fixmystreet.longitude );
var map = new google.maps.Map(document.getElementById("map"), {
mapTypeId: google.maps.MapTypeId.ROADMAP,