File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -197,10 +197,7 @@ function drawHistorical (data, station) {
197197
198198 html += "<div><b>Altitude: </b>" + text_alt + "</div>" ;
199199 html += "<div><b>Time: </b>" + formatDate ( stringToDateUTC ( time ) ) + "</div>" ;
200-
201- if ( landing . hasOwnProperty ( "type" ) ) {
202- html += "<div><b>Sonde Type: </b>" + landing . type + "</div>" ;
203- } ;
200+ html += "<div><b>Sonde Type: </b><span class='landing_sonde_type'>Unknown</span></div>"
204201
205202 html += "<hr style='margin:0px;margin-top:5px'>" ;
206203
@@ -226,6 +223,11 @@ function drawHistorical (data, station) {
226223 div . getElementsByClassName ( "recovery_path" ) [ 0 ] . onclick = function ( ) {
227224 showRecoveredMap ( serial )
228225 }
226+
227+ if ( landing . hasOwnProperty ( "type" ) ) {
228+ div . getElementsByClassName ( "landing_sonde_type" ) [ 0 ] . textContent = landing . type ;
229+ } ;
230+
229231 if ( landing . hasOwnProperty ( "uploader_callsign" ) ) {
230232 div . getElementsByClassName ( "landing_uploader_callsign" ) [ 0 ] . textContent = "Last received by: " + landing . uploader_callsign . toLowerCase ( ) ;
231233 } ;
You can’t perform that action at this time.
0 commit comments