From 96dd380147b497274a31ba2ee7ff2d8fffa9922a Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 21 Jul 2011 13:39:58 +0100 Subject: Move JS to jQuery. --- web/js/map-bing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/map-bing.js') 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, -- cgit v1.2.3