From 9194a43fd42b65d630f207361813b9439ee761d5 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Fri, 15 Aug 2014 11:13:35 +0300 Subject: [PATCH] HTML: add units to time in dive profile. Also change the separator to a colon which is more readable. Signed-off-by: Gehad elrobey Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/list_lib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme/list_lib.js b/theme/list_lib.js index 9a79b2321..9327bbc4a 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -1095,7 +1095,7 @@ function canvas_draw() if(seriesIndex===2) return items[dive_id].events[pointIndex].name; else - return str; + return str.replace(",", " : "); } }, seriesDefaults : { @@ -1138,7 +1138,7 @@ function canvas_draw() tickRenderer : $.jqplot.CanvasAxisTickRenderer, tickOptions : { showGridline : false, - formatString : '%i' + formatString : '%is' }, label:'Time (min)' },