mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-12 13:16:16 +00:00
HTML: dive list must remember the last dive in display
When switching between dives in detailed view, The dive list must be switched too. 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
10345d62fc
commit
60049941ba
1 changed files with 2 additions and 0 deletions
|
@ -922,6 +922,8 @@ function showDiveDetails(dive)
|
||||||
*/
|
*/
|
||||||
function unshowDiveDetails(dive)
|
function unshowDiveDetails(dive)
|
||||||
{
|
{
|
||||||
|
start = dive_id;
|
||||||
|
viewInPage();
|
||||||
document.getElementById("diveListPanel").style.display = 'block';
|
document.getElementById("diveListPanel").style.display = 'block';
|
||||||
document.getElementById("divePanel").style.display = 'none';
|
document.getElementById("divePanel").style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue