Restore 3-digit distance title (see #38) removed with PR #56

This commit is contained in:
Norbert Renner 2018-01-27 11:31:41 +01:00
parent 20959fd287
commit 6d3a7a6b1c
2 changed files with 4 additions and 1 deletions

View file

@ -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);