populateLaunchSite() clears the launch sites before repopulating from sites.json
rodzic
81e8fb3d38
commit
b407b3d46d
|
@ -76,6 +76,7 @@ function showMousePos(GLatLng) {
|
|||
}
|
||||
|
||||
function populateLaunchSite() {
|
||||
$("#site > option").remove();
|
||||
$.getJSON("sites.json", function(sites) {
|
||||
$.each(sites, function(sitename, site) {
|
||||
$("#site").append($('<option></option>').val(sitename).html(sitename));
|
||||
|
|
Ładowanie…
Reference in New Issue