mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
hid leds
This commit is contained in:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user