parent
20959fd287
commit
6d3a7a6b1c
2 changed files with 4 additions and 1 deletions
|
|
@ -63,7 +63,8 @@ footer {
|
|||
word-break: break-all;
|
||||
font-weight: bold;
|
||||
}
|
||||
.stats-label abbr[title] {
|
||||
.stats-label abbr[title],
|
||||
#distance {
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dotted #818a91;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ BR.TrackStats = L.Class.extend({
|
|||
meanEnergy = stats.trackLength ? L.Util.formatNum(stats.totalEnergy / 36. / stats.trackLength, 2) : '';
|
||||
|
||||
$('#distance').html(length1);
|
||||
// alternative 3-digit format down to meters as tooltip
|
||||
$('#distance').attr('title', length3 + ' km');
|
||||
$('#ascend').html(stats.filteredAscend + ' (' + stats.plainAscend +')');
|
||||
$('#cost').html(stats.cost + ' (' + meanCostFactor + ')');
|
||||
$('#totaltime').html(formattedTime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue