Update DefaultPageLayout.php

This commit is contained in:
bergware
2025-03-29 07:43:34 +01:00
parent 9d43ac866f
commit 0bdfad0564
@@ -172,8 +172,8 @@ function nchanResume() {
timers.reload = setTimeout(nchanPause,<?=$myPage['Load']*60000?>);
}
// event handlers
$(window).click(function() {nchanResume();});
document.addEventListener('visibilitychange',function(e) {
if (document.hidden) nchanPause(); else nchanResume();
});