diff options
author | Devaev Maxim <[email protected]> | 2018-08-01 17:31:23 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-01 17:31:23 +0300 |
commit | 9a5c583f808f7167a5a630d675c195a4a7ded2aa (patch) | |
tree | 904f4250943e04aa0f8864ccb7785c9618ece058 /kvmd/web/js/stream.js | |
parent | cb8e5efbc74343a932a712444c5d7f017094cbe2 (diff) |
mouse support
Diffstat (limited to 'kvmd/web/js/stream.js')
-rw-r--r-- | kvmd/web/js/stream.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/web/js/stream.js b/kvmd/web/js/stream.js index 51e00a96..e7bd82d4 100644 --- a/kvmd/web/js/stream.js +++ b/kvmd/web/js/stream.js @@ -11,14 +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-box").classList.add("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-box").classList.remove("stream-box-inactive"); $("stream-led").className = "led-on"; $("stream-reset-button").disabled = false; } |