Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
IgorA100
2026-04-29 16:01:10 +03:00
committed by GitHub
parent 5d958111ff
commit ce9c93dc5a

View File

@@ -416,7 +416,9 @@ function MonitorStream(monitorData) {
(e) => {
this.writeTextInfoBlock("Paused", {showImg: false});
manageEventListener.removeEventListener(this.handlerEventListener['volumechange']);
pauseAudioMotion(this.id);
if (typeof pauseAudioMotion === 'function') {
pauseAudioMotion(this.id);
}
}
);
};