fix: reload detections immediately when page becomes visible again
This commit is contained in:
@@ -459,6 +459,7 @@ document.addEventListener("visibilitychange", function() {
|
||||
clearInterval(i_fn2);
|
||||
if (customImage) clearInterval(i_fn3);
|
||||
} else {
|
||||
loadDetectionIfNewExists();
|
||||
startAutoRefresh();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user