From 83eb2cf5467f2aaf9ff1faa4df53f9e2dc7c027a Mon Sep 17 00:00:00 2001 From: jonsowman Date: Sun, 13 Jun 2010 14:58:18 +0100 Subject: [PATCH] Attemp to make chrome work with the launch site dropdown --- predict/index.php | 6 +++--- predict/js/pred.js | 10 ++++++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/predict/index.php b/predict/index.php index bade587..ec81629 100644 --- a/predict/index.php +++ b/predict/index.php @@ -58,7 +58,7 @@ var clickMarker;


-Toggle Debug +Toggle Debug
@@ -81,8 +81,8 @@ Cursor range from launch: ?km, land: ?km
-Show Debug | -Hide Launch Card +Show Debug | +Hide Launch Card
About this software
diff --git a/predict/js/pred.js b/predict/js/pred.js index 69a0a0c..bc62725 100644 --- a/predict/js/pred.js +++ b/predict/js/pred.js @@ -106,11 +106,17 @@ function showMousePos(GLatLng) { function populateLaunchSite() { $("#site > option").remove(); $.getJSON("sites.json", function(sites) { + alert("Trying to populate launch sites..."); $.each(sites, function(sitename, site) { - $("#site").append($('').val(sitename).html(sitename)); + //$("#site").append($('').val(sitename).html(sitename)); + $("').val("Other").html("Other")); + //$("#site").append($('').val("Other").html("Other")); + $("