File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1232,7 +1232,7 @@ function updateVehicleInfo(vcallsign, newPosition) {
12321232 '<img class="' + ( ( vehicle . vehicle_type == "car" ) ?'car' :'' ) + '" src="' + image + '" />' +
12331233 '<span class="vbutton path ' + ( ( vehicle . polyline_visible ) ? 'active' : '' ) + '" data-vcallsign="' + vcallsign + '"' + ' style="top:' + ( vehicle . image_src_size [ 1 ] + 55 ) + 'px">Path</span>' +
12341234 ( ( vehicle . vehicle_type != "car" ) ? '<span class="sbutton" onclick="shareVehicle(\'' + vcallsign + '\')" style="top:' + ( vehicle . image_src_size [ 1 ] + 85 ) + 'px">Share</span>' : '' ) +
1235- ( ( vehicle . vehicle_type != "car" ) ? '<span class="sbutton" onclick="window.open(\'https://sondehub.org/card/' + vcallsign + '\')" style="top:' + ( vehicle . image_src_size [ 1 ] + 115 ) + 'px">Card </span>' : '' ) +
1235+ ( ( vehicle . vehicle_type != "car" ) ? '<span class="sbutton" onclick="window.open(\'https://sondehub.org/card/' + vcallsign + '\')" style="top:' + ( vehicle . image_src_size [ 1 ] + 115 ) + 'px">Plot </span>' : '' ) +
12361236 '<div class="left">' +
12371237 '<dl>' ;
12381238 //mobile
@@ -1244,7 +1244,7 @@ function updateVehicleInfo(vcallsign, newPosition) {
12441244 '<img class="' + ( ( vehicle . vehicle_type == "car" ) ?'car' :'' ) + '" src="' + image + '" />' +
12451245 '<span class="vbutton path ' + ( ( vehicle . polyline_visible ) ? 'active' : '' ) + '" data-vcallsign="' + vcallsign + '"' + ' style="top:55px">Path</span>' +
12461246 ( ( vehicle . vehicle_type != "car" ) ? '<span class="sbutton" onclick="shareVehicle(\'' + vcallsign + '\')" style="top:85px">Share</span>' : '' ) +
1247- ( ( vehicle . vehicle_type != "car" ) ? '<span class="sbutton" onclick="window.open(\'https://sondehub.org/card/' + vcallsign + '\')" style="top:115px">Card </span>' : '' ) +
1247+ ( ( vehicle . vehicle_type != "car" ) ? '<span class="sbutton" onclick="window.open(\'https://sondehub.org/card/' + vcallsign + '\')" style="top:115px">Plot </span>' : '' ) +
12481248 '<div class="left">' +
12491249 '<dl>' ;
12501250 var b = '</dl>' +
@@ -2624,7 +2624,9 @@ function refresh() {
26242624 }
26252625 }
26262626
2627- document . getElementById ( "timeperiod" ) . disabled = false ;
2627+ if ( ajax_inprogress_old != wvar . query ) {
2628+ document . getElementById ( "timeperiod" ) . disabled = false ;
2629+ }
26282630
26292631 ajax_inprogress = true ;
26302632
You can’t perform that action at this time.
0 commit comments