avoid fetchdata runnign once for showTrace

This commit is contained in:
Matthias Wirth
2021-03-21 21:48:44 +01:00
parent 087e42a83a
commit b3d747d9cb

View File

@@ -1305,9 +1305,6 @@ function parseHistory() {
function startPage() {
console.log("Completing init");
// Kick off first refresh.
fetchData();
if (!globeIndex) {
$('#show_trace').hide();
}
@@ -1342,6 +1339,9 @@ function startPage() {
pathName = window.location.pathname;
processURLParams();
// Kick off first refresh.
fetchData();
if (!icaoFilter && globeIndex)
toggleTableInView(true);