clear aiscatcher timer on tab change

This commit is contained in:
Matthias Wirth
2024-05-05 23:23:49 +02:00
parent 23f814e1e9
commit 09a4fcce95

View File

@@ -1920,7 +1920,7 @@ function setIntervalTimers() {
if (aiscatcher_server) {
function updateAIScatcher() { g.aiscatcher_source.refresh(); }
setInterval(updateAIScatcher, aiscatcher_refresh * 1000);
timers.aiscatcher = setInterval(updateAIScatcher, aiscatcher_refresh * 1000);
updateAIScatcher();
}
}