summaryrefslogtreecommitdiff
path: root/web/js/keyboard.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-10-09 16:20:41 +0300
committerDevaev Maxim <[email protected]>2018-10-09 16:20:41 +0300
commita449b39c52392d0d8b043934a15792f21d54e06d (patch)
treec8ff6a67baea441b61ea14f0363ba4b22c0cd116 /web/js/keyboard.js
parent2c241fab4409eac3b40762d2c23d42ac6e3f8df1 (diff)
refactoring
Diffstat (limited to 'web/js/keyboard.js')
-rw-r--r--web/js/keyboard.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/keyboard.js b/web/js/keyboard.js
index b8c4797b..42e92ecd 100644
--- a/web/js/keyboard.js
+++ b/web/js/keyboard.js
@@ -71,10 +71,10 @@ function Keyboard() {
var __updateLeds = function() {
if (__ws && (document.activeElement === $("stream-window") || document.activeElement === $("keyboard-window"))) {
- $("hid-keyboard-led").className = "led-on";
+ $("hid-keyboard-led").className = "led-green";
$("hid-keyboard-led").title = "Keyboard captured";
} else {
- $("hid-keyboard-led").className = "led-off";
+ $("hid-keyboard-led").className = "led-gray";
$("hid-keyboard-led").title = "Keyboard free";
}
};