summaryrefslogtreecommitdiff
path: root/web/js/keyboard.js
diff options
context:
space:
mode:
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";
}
};