diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-07-21 13:39:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-07-21 13:41:24 +0100 |
commit | 96dd380147b497274a31ba2ee7ff2d8fffa9922a (patch) | |
tree | b556c1d26f8f5cd2a62fc19a2d61aae09006111a /web/js/map-bing.js | |
parent | e97a90eb5732530cfe1fa544643a7b5e05530fd2 (diff) |
Move JS to jQuery.
Diffstat (limited to 'web/js/map-bing.js')
-rw-r--r-- | web/js/map-bing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-bing.js b/web/js/map-bing.js index 748a03525..856e4f188 100644 --- a/web/js/map-bing.js +++ b/web/js/map-bing.js @@ -1,4 +1,4 @@ -YAHOO.util.Event.onContentReady('map', function() { +$(function(){ var centre = new Microsoft.Maps.Location( fixmystreet.latitude, fixmystreet.longitude ); var map = new Microsoft.Maps.Map(document.getElementById("map"), { credentials: fixmystreet.key, |