Stop the montagereview update while we reload the page

pull/2863/head
Isaac Connor 2020-02-25 16:53:08 -05:00
parent 3adc20b04e
commit 23e4b43aa0
1 changed files with 4 additions and 0 deletions

View File

@ -936,6 +936,10 @@ function changeDateTime(e) {
}
}
// Reloading can take a while, so stop interrupts to reduce load
clearInterval(timerObj);
timerObj = null;
var uri = "?view=" + currentView + fitStr + minStr + maxStr + liveStr + zoomStr + "&scale=" + $j("#scaleslider")[0].value + "&speed=" + speeds[$j("#speedslider")[0].value];
window.location = uri;
}