summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/keyboard.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-02-28 04:44:05 +0300
committerDevaev Maxim <[email protected]>2020-02-28 04:44:05 +0300
commit1470ebe6fa3900cb28266edf532d6e68707e1f24 (patch)
tree83d50dc80b178fc9658e346c7959ecbc8a251f2f /web/share/js/kvm/keyboard.js
parenta84b6bd31af52d13dcaf93717376852c784a2705 (diff)
hid leds
Diffstat (limited to 'web/share/js/kvm/keyboard.js')
-rw-r--r--web/share/js/kvm/keyboard.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/share/js/kvm/keyboard.js b/web/share/js/kvm/keyboard.js
index 0398baef..10c6ccc5 100644
--- a/web/share/js/kvm/keyboard.js
+++ b/web/share/js/kvm/keyboard.js
@@ -75,11 +75,6 @@ export function Keyboard() {
__online = state.online;
__updateOnlineLeds();
- for (let el of $$$(".hid-keyboard-leds")) {
- console.log(el, state.features.leds);
- el.classList.toggle("feature-disabled", !state.features.leds);
- }
-
for (let led of ["caps", "scroll", "num"]) {
for (let el of $$$(`.hid-keyboard-${led}-led`)) {
if (state.leds[led]) {