diff options
Diffstat (limited to 'theme')
-rw-r--r-- | theme/dive_export.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html index 91b0ef749..065a8a4f1 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -121,6 +121,9 @@ window.onload=function(){ showAllDives(); document.getElementById("divePanel").style.display='none'; document.getElementById("diveStat").style.display='none'; + if (divestat.length <= 0) + document.getElementById("stats_button").style.display='none'; + document.body.style.visibility='visible'; document.onkeydown = switchDives; |