Added if (!monitorStream.started) (watch.js)

pull/4055/head
IgorA100 2024-05-29 19:25:52 +03:00 committed by GitHub
parent 40bbc082da
commit 9e8d1f66fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -1412,6 +1412,9 @@ document.onvisibilitychange = () => {
monitorStream.kill();
} else {
//Start monitor when show page
monitorStream.start();
if (!monitorStream.started) {
monitorStream.start();
}
}
};