Skip to content

Commit

Permalink
Check for existing monitorStream to avoid js errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Dec 4, 2024
1 parent ea41d4f commit 57fb0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/skins/classic/views/js/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function onPause() {

function streamCmdPause(action) {
onPause();
if (action) {
if (action && monitorStream) {
monitorStream.pause();
}
}
Expand Down

0 comments on commit 57fb0cb

Please sign in to comment.