Skip to content

Commit 855863c

Browse files
xssfoxTheSkorm
authored andcommitted
back button fixes
1 parent 9469d70 commit 855863c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ function trackerInit() {
222222
$('#loading,#settingsbox,#aboutbox,#chasebox').hide(); // welcome screen
223223
$('header,#main').show(); // interface elements
224224
checkSize();
225+
lhash_update(true);
225226

226227
if(map) return;
227228

js/sondehub.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,7 @@ function panToRecovery(rcallsign) {
12401240
//if mobile close panel
12411241
if (is_mobile) {
12421242
$('.flatpage, #homebox').hide();
1243+
lhash_update(true);
12431244
}
12441245
for (let i = 0; i < recoveries.length; i++) {
12451246
if (recoveries[i].hasOwnProperty('serial')) {
@@ -2039,6 +2040,7 @@ function skewTdelete () {
20392040
$('#deleteSkewt').hide();
20402041
$("#skewtSerial").text("Select a Radiosonde from the list and click 'SkewT' to plot. Note that not all radiosonde types are supported.");
20412042
box.hide();
2043+
lhash_update(true);
20422044
//$('.skewt').hide();
20432045
$("#skewt-plot").empty();
20442046
checkSize();
@@ -2068,6 +2070,7 @@ function skewTdraw (callsign) {
20682070
$('.flatpage, #homebox').hide();
20692071
$('.skewt').show();
20702072
box.show().scrollTop(0);
2073+
lhash_update(true);
20712074
checkSize();
20722075
};
20732076

@@ -2236,6 +2239,7 @@ function skewTdraw (callsign) {
22362239
$('.flatpage, #homebox').hide();
22372240
$('.skewt').show();
22382241
box.show().scrollTop(0);
2242+
lhash_update(true);
22392243
checkSize();
22402244
};
22412245

0 commit comments

Comments
 (0)