mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
HTML: Make export statistics optional.
Make exporting statistics to the HTML page optional. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4b22b74091
commit
93a15d471c
3 changed files with 27 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue