diff options
author | Devaev Maxim <[email protected]> | 2021-06-17 18:40:53 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-06-17 18:40:53 +0300 |
commit | 5912693c1af7a6f358563ba1634f9e15c5220fc3 (patch) | |
tree | 4f5338c1d872d4fc28454aa876e87e6abcca146e /web/share | |
parent | e6a5d5648f093139e98a7e71abcaa43ad3234d00 (diff) |
make janus-static work for web ui
Diffstat (limited to 'web/share')
-rw-r--r-- | web/share/js/kvm/session.js | 5 |
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) { |