Skip to content

Commit 5d3ffe1

Browse files
author
xss
committed
reference serial correctly
1 parent f680da7 commit 5d3ffe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/tracker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ function panTo(vcallsign) {
11791179
serial: vcallsign,
11801180
success: function(response, textStatus) {
11811181
updatePredictions(response);
1182-
set_polyline_visibility(serial,true);
1182+
set_polyline_visibility(this.serial,true);
11831183
}
11841184
});
11851185

@@ -1192,7 +1192,7 @@ function panTo(vcallsign) {
11921192
serial: vcallsign,
11931193
success: function(response, textStatus) {
11941194
updateLaunchPredictions(response);
1195-
set_polyline_visibility(serial,true);
1195+
set_polyline_visibility(this.serial,true);
11961196
}
11971197
});
11981198

0 commit comments

Comments
 (0)