mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
@@ -173,7 +173,7 @@ function nchanResume() {
|
||||
}
|
||||
|
||||
// event handlers
|
||||
$(window).click(function(e) {nchanResume();});
|
||||
$(window).click(function() {nchanResume();});
|
||||
document.addEventListener('visibilitychange',function(e) {
|
||||
if (document.hidden) nchanPause(); else nchanResume();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user