Fiksa strekktidsvisninga for diska løpere

This commit is contained in:
Trygve 2023-11-08 17:37:07 +01:00
parent 4e20399114
commit 54bc29756f

View File

@ -177,7 +177,7 @@ function loadresults() {
}
}
}
else if (typeof(xmlObj.ClassResult[i].PersonResult[k])!== 'undefined' && typeof(xmlObj.ClassResult[i].PersonResult[0].Result.SplitTime)!== 'undefined' && persStatus == 'Disqualified'){
else if (typeof(xmlObj.ClassResult[i].PersonResult[k])!== 'undefined' && typeof(xmlObj.ClassResult[i].PersonResult[0].Result.SplitTime)!== 'undefined' && persStatus == 'MissingPunch'){
splitTimes += '<tr><td>' + xmlObj.ClassResult[i].PersonResult[k].Person.Name.Given + " " + xmlObj.ClassResult[i].PersonResult[k].Person.Name.Family + "(DSQ)</td>";
let controlTimeDelta = 0;
@ -189,12 +189,8 @@ function loadresults() {
controlTimeDelta += controlTime;
splitTimes += '<td>'+ TimeFormater(controlTime) +'<br>'+ TimeFormater(xmlObj.ClassResult[i].PersonResult[k].Result.SplitTime[t].Time)+'</td>'
}
}
}
else {
splitTimes += '<td></td>'
}
}
else {splitTimes += '<td></td>'}
}}}
}
splitTimes += '</tr>';