Commit aad9daf5 authored by antoine-boiteau's avatar antoine-boiteau
Browse files

fixed a miscalculation of global RK when showing the tracks stats

parent 8d628c93
......@@ -194,7 +194,7 @@ function renderTimeSheet(distances) {
totalTimeCell.innerHTML = convertTimetoString(orienteerTotalTime);
totalDistanceCell.innerHTML = deltaDistanceCalculator(orienteerTotalDistance,totalDistance);
speedMeanCell.innerHTML = RKCalculator(orienteerTotalTime,orienteerTotalDistance).toString() + " min/km"
speedMeanCell.innerHTML = RKCalculator(orienteerTotalTime,totalDistance).toString() + " min/km"
+ "<br>"
+ speedCalculator(orienteerTotalTime,orienteerTotalDistance).toString() + " km/h";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment