diff options
author | Devaev Maxim <[email protected]> | 2021-05-06 22:36:33 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-06 22:36:33 +0300 |
commit | 384b444c0269bf5e7bd0a9b53e764ff67d2c0006 (patch) | |
tree | adbe0e62ab0bbd05916e95cba1f3e53a35003c36 /web/share/js/kvm/session.js | |
parent | 3aa92a87d4df60d7a0fcc09bf3091e2110a48458 (diff) |
stream refactoring, passing janus state
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r-- | web/share/js/kvm/session.js | 2 |
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) { |