Skip to content

Commit 5dff0ff

Browse files
author
Michaela
committed
Merge branch 'testing'
2 parents 8334df3 + 4ac3219 commit 5dff0ff

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

js/tracker.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4113,13 +4113,11 @@ function updateLeaderboardPane(r){
41134113
function updateLaunchPredictions(r) {
41144114
for (serial in r) {
41154115
prediction = r[serial];
4116-
if(prediction.hasOwnProperty("launch_site")) {
4117-
if(vehicles.hasOwnProperty(serial)) {
4118-
vehicle = vehicles[serial];
4119-
if (vehicle.prediction_launch == null) {
4120-
vehicle.prediction_launch = prediction;
4121-
drawLaunchPrediction(serial);
4122-
}
4116+
if(vehicles.hasOwnProperty(serial)) {
4117+
vehicle = vehicles[serial];
4118+
if (vehicle.prediction_launch == null) {
4119+
vehicle.prediction_launch = prediction;
4120+
drawLaunchPrediction(serial);
41234121
}
41244122
}
41254123
}

0 commit comments

Comments
 (0)