summaryrefslogtreecommitdiffstats
path: root/theme/dive_export.html
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-10-20 03:56:06 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-20 18:08:49 -0700
commit540dbe927e6c784fd53752f89d0a83917ec28ce8 (patch)
tree515fb3480eb13676eef1f0cf6f197acace213ab1 /theme/dive_export.html
parent53f4f1f45af016870ea985064700d49bcd885764 (diff)
downloadsubsurface-540dbe927e6c784fd53752f89d0a83917ec28ce8.tar.gz
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 <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/dive_export.html')
-rw-r--r--theme/dive_export.html2
1 files changed, 2 insertions, 0 deletions
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();