summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/session.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-06 22:36:33 +0300
committerDevaev Maxim <[email protected]>2021-05-06 22:36:33 +0300
commit384b444c0269bf5e7bd0a9b53e764ff67d2c0006 (patch)
treeadbe0e62ab0bbd05916e95cba1f3e53a35003c36 /web/share/js/kvm/session.js
parent3aa92a87d4df60d7a0fcc09bf3091e2110a48458 (diff)
stream refactoring, passing janus state
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r--web/share/js/kvm/session.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index 9a8b33d3..de1df249 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -125,6 +125,8 @@ export function Session() {
tools.featureSetEnabled($("webterm"), has_webterm);
$("webterm-window").show_hook = show_hook;
$("webterm-window").close_hook = close_hook;
+
+ __streamer.setJanusEnabled(state.janus && (state.janus.enabled || state.janus.started));
};
var __formatTemp = function(temp) {