From 540dbe927e6c784fd53752f89d0a83917ec28ce8 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Mon, 20 Oct 2014 03:56:06 +0200 Subject: HTML: Fix the Javascript library to support multi units. -make the dive profile dynamic to check user selected units from the settings file. -some of the code needs to be refactored and copied to a more appropriate location. Signed-off-by: Gehad elrobey Signed-off-by: Dirk Hohndel --- theme/dive_export.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'theme/dive_export.html') diff --git a/theme/dive_export.html b/theme/dive_export.html index 0b5b6dc7f..6f3708c49 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -132,6 +132,8 @@ window.onload=function(){ document.onkeydown = switchDives; + set_units(); + //translate Page translate_page(); getDefaultColor(); -- cgit v1.2.3-70-g09d2