Do an initial data fetch immediately (useful if the refresh interval is long).
This commit is contained in:
parent
849697f84c
commit
2ba56231a6
|
@ -291,6 +291,9 @@ function end_load_history() {
|
||||||
window.setInterval(fetchData, RefreshInterval);
|
window.setInterval(fetchData, RefreshInterval);
|
||||||
window.setInterval(reaper, 60000);
|
window.setInterval(reaper, 60000);
|
||||||
|
|
||||||
|
// And kick off one refresh immediately.
|
||||||
|
fetchData();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initalizes the map and starts up our timers to call various functions
|
// Initalizes the map and starts up our timers to call various functions
|
||||||
|
|
Loading…
Reference in a new issue