|
@@ -245,7 +245,7 @@ function show(id) {
|
|
overview.draw();
|
|
overview.draw();
|
|
|
|
|
|
for(let t of gps.trips) {
|
|
for(let t of gps.trips) {
|
|
- $("#tracks").append("<li><input type='button' onclick='setZoom("+t.startTime*1000+","+t.endTime*1000+")' value='" + timeFormat(t.startTime, "date") + " " + (t.distance/1000).toFixed(1) + "km'</li>");
|
|
|
|
|
|
+ $("#tracks").append(`<li><input type='button' onclick='setZoom(${t.startTime*1000}, ${t.endTime*1000})' value='${timeFormat(t.startTime, "date")} ${t.name} ${(t.distance/1000).toFixed(1)}km'</li>`);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|