From 57fb0cba1b54c1e9c231d790dc3304f84bf2fe7b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 4 Dec 2024 15:07:29 -0500 Subject: [PATCH] Check for existing monitorStream to avoid js errors --- web/skins/classic/views/js/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/watch.js b/web/skins/classic/views/js/watch.js index 8498210928..be84506e36 100644 --- a/web/skins/classic/views/js/watch.js +++ b/web/skins/classic/views/js/watch.js @@ -162,7 +162,7 @@ function onPause() { function streamCmdPause(action) { onPause(); - if (action) { + if (action && monitorStream) { monitorStream.pause(); } }