mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 08:29:51 -06:00
Update DefaultPageLayout.php
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user