fix: reload detections immediately when page becomes visible again

This commit is contained in:
frederik
2024-11-03 10:44:32 +01:00
parent 98f0d04329
commit ccaa2475c9
+1
View File
@@ -459,6 +459,7 @@ document.addEventListener("visibilitychange", function() {
clearInterval(i_fn2);
if (customImage) clearInterval(i_fn3);
} else {
loadDetectionIfNewExists();
startAutoRefresh();
}
});