Attemp to make chrome work with the launch site dropdown
rodzic
28c8b73c9f
commit
83eb2cf546
|
@ -58,7 +58,7 @@ var clickMarker;
|
|||
<div id="prediction_percent"></div>
|
||||
<br>
|
||||
<span id="prediction_status"></span><br>
|
||||
<a><span id="showHideDebug_status">Toggle Debug</span></a></span>
|
||||
<a><span id="showHideDebug_status">Toggle Debug</span></a>
|
||||
</div>
|
||||
|
||||
<div id="error_window" class="box">
|
||||
|
@ -81,8 +81,8 @@ Cursor range from launch: <span id="cursor_pred_launchrange">?</span>km,
|
|||
land: <span id="cursor_pred_landrange">?</span>km
|
||||
</span>
|
||||
<br />
|
||||
<a><span id="showHideDebug">Show Debug</span></a></span> |
|
||||
<a><span id="showHideForm">Hide Launch Card</span></a></span>
|
||||
<a><span id="showHideDebug">Show Debug</span></a> |
|
||||
<a><span id="showHideForm">Hide Launch Card</span></a>
|
||||
<br />
|
||||
<a style="font-size: 10px" id="about_window_show">About this software</a>
|
||||
</div>
|
||||
|
|
|
@ -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($('<option></option>').val(sitename).html(sitename));
|
||||
//$("#site").append($('<option></option>').val(sitename).html(sitename));
|
||||
$("<option>").attr("value", sitename).text(sitename).appendTo("#site");
|
||||
});
|
||||
$("#site").append($('<option></option>').val("Other").html("Other"));
|
||||
//$("#site").append($('<option></option>').val("Other").html("Other"));
|
||||
$("<option>").attr("value", "Other").text("Other").appendTo("#site");
|
||||
alert("Done populating list");
|
||||
return true;
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
function changeLaunchSite() {
|
||||
|
|
Ładowanie…
Reference in New Issue