summaryrefslogtreecommitdiff
path: root/web/share
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-03-06 06:36:32 +0200
committerMaxim Devaev <[email protected]>2024-03-06 06:36:32 +0200
commit96960ab0aa0c544f4a6ad972ded345dc54b5683e (patch)
treeda7d1b27f1beaf5496963a98e35a7af493495e32 /web/share
parentc799630e5e226f8c33b26f487f307e0aee9c0d95 (diff)
fixed structure
Diffstat (limited to 'web/share')
-rw-r--r--web/share/js/kvm/stream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js
index 17c088b2..9ae4565c 100644
--- a/web/share/js/kvm/stream.js
+++ b/web/share/js/kvm/stream.js
@@ -254,7 +254,7 @@ export function Streamer() {
tools.feature.setEnabled($("stream-audio"), false); // Enabling in stream_janus.js
}
if (wm.isWindowVisible($("stream-window"))) {
- __streamer.ensureStream(__state);
+ __streamer.ensureStream(__state ? __state.streamer : null);
}
};