Skip to content

Commit fc6acfe

Browse files
committed
Update dashboard.js
1 parent 0aae23c commit fc6acfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function locationSuccess(position) {
310310

311311
npositions = npositions + 1;
312312

313-
$('#gps_speed').html(c.speed);
313+
$('#gps_speed').html(`${Math.round(c.speed * 36)/10} km/h`);
314314
$('#current_trip').html('0 km');
315315

316316
addData(locationChart, npositions, [c.speed, c.heading])

0 commit comments

Comments
 (0)