Revert "Update DefaultPageLayout.php"

This reverts commit 0bdfad0564.
This commit is contained in:
bergware
2025-03-29 18:51:24 +01:00
parent a2e216a552
commit 400404a913

View File

@@ -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();
});