Update DefaultPageLayout.php

This commit is contained in:
bergware
2025-03-29 07:45:30 +01:00
parent 0bdfad0564
commit 674b73d5b0

View File

@@ -173,7 +173,7 @@ function nchanResume() {
}
// event handlers
$(window).click(function() {nchanResume();});
$(window).click(function(e) {nchanResume();});
document.addEventListener('visibilitychange',function(e) {
if (document.hidden) nchanPause(); else nchanResume();
});