minimal load ordering

maybe a tiny bit quicker
This commit is contained in:
Matthias Wirth
2024-05-22 23:28:52 +02:00
parent e63dfd1961
commit 9f01920eaa

View File

@@ -490,6 +490,9 @@ function afterFirstFetch() {
g.firstFetchDone = true;
updateVisible();
mapRefresh();
setTimeout(() => {
console.time('afterFirstFetch()');
@@ -2011,10 +2014,7 @@ function setIntervalTimers() {
timersActive = true;
setTimeout(fetchData, 5);
updateVisible();
mapRefresh();
fetchData();
// in case the visibility changed while this was running
handleVisibilityChange();