diff options
author | Devaev Maxim <[email protected]> | 2018-11-27 12:05:38 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-27 12:05:38 +0300 |
commit | 1897d72b5191ba88130f99feec302ea95b4ce6cd (patch) | |
tree | 39b235ae1182aca7fd667577868a65ba9dc9f6b8 /web/js/kvm/stream.js | |
parent | b5ca09f310ade56ead145db4aee892d50cfd6386 (diff) |
refactoring
Diffstat (limited to 'web/js/kvm/stream.js')
-rw-r--r-- | web/js/kvm/stream.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/js/kvm/stream.js b/web/js/kvm/stream.js index 029eee48..4efaefed 100644 --- a/web/js/kvm/stream.js +++ b/web/js/kvm/stream.js @@ -116,6 +116,7 @@ function Streamer() { self.clearState = function() { tools.info("Stream: refreshing ..."); + $("stream-image").className = "stream-image-inactive"; $("stream-box").classList.add("stream-box-inactive"); $("stream-led").className = "led-gray"; @@ -124,6 +125,7 @@ function Streamer() { $("stream-reset-button").disabled = true; $("stream-quality-slider").disabled = true; $("stream-desired-fps-slider").disabled = true; + __client_key = tools.makeId(); __client_id = ""; __client_fps = -1; |