summaryrefslogtreecommitdiff
path: root/web/share
diff options
context:
space:
mode:
Diffstat (limited to 'web/share')
-rw-r--r--web/share/js/kvm/session.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index b8fee992..3a0b501c 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -126,7 +126,10 @@ export function Session() {
$("webterm-window").show_hook = show_hook;
$("webterm-window").close_hook = close_hook;
- __streamer.setJanusEnabled(state.janus && (state.janus.enabled || state.janus.started));
+ __streamer.setJanusEnabled(
+ (state.janus && (state.janus.enabled || state.janus.started))
+ || (state.janus_static && (state.janus_static.enabled || state.janus_static.started))
+ );
};
var __formatTemp = function(temp) {