summaryrefslogtreecommitdiff
path: root/kvmd/web/js/stream.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-01 00:26:39 +0300
committerDevaev Maxim <[email protected]>2018-08-01 00:29:20 +0300
commitd46bc3dfd187a0d354798f766852e5ea69de3084 (patch)
treecf67cc2f01a019aeffa9a4e6ba8b662e11fcbb69 /kvmd/web/js/stream.js
parentd9dbddeb2fcda7121738d1378c9e83b78ec25928 (diff)
pretty stream stub
Diffstat (limited to 'kvmd/web/js/stream.js')
-rw-r--r--kvmd/web/js/stream.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/kvmd/web/js/stream.js b/kvmd/web/js/stream.js
index feb05d13..51e00a96 100644
--- a/kvmd/web/js/stream.js
+++ b/kvmd/web/js/stream.js
@@ -11,12 +11,14 @@ var stream = new function() {
tools.info("Refreshing stream ...");
__prev_state = false;
$("stream-image").className = "stream-image-inactive";
+ $("stream-box").className = "stream-box-inactive";
$("stream-led").className = "led-off";
$("stream-reset-button").disabled = true;
} else if (!__prev_state) {
__refreshImage();
__prev_state = true;
$("stream-image").className = "stream-image-active";
+ $("stream-box").className = "stream-box-active";
$("stream-led").className = "led-on";
$("stream-reset-button").disabled = false;
}