diff options
author | Devaev Maxim <[email protected]> | 2019-02-08 00:12:21 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-08 00:12:26 +0300 |
commit | 066b3def4cd34b542e7f017cde5db82cd5eebbd4 (patch) | |
tree | 36058873514081403431098c64234cd5be6369fe /web/share/js/kvm | |
parent | fb235dd3a89ceb0b3f9d6f6b3e0ec84c9520f6ef (diff) |
web: fixed update leds on hid events
Diffstat (limited to 'web/share/js/kvm')
-rw-r--r-- | web/share/js/kvm/keyboard.js | 1 | ||||
-rw-r--r-- | web/share/js/kvm/mouse.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/web/share/js/kvm/keyboard.js b/web/share/js/kvm/keyboard.js index d5ccd80f..cdf686c7 100644 --- a/web/share/js/kvm/keyboard.js +++ b/web/share/js/kvm/keyboard.js @@ -56,6 +56,7 @@ function Keyboard() { self.setState = function(state) { __ok = state.ok; + __updateLeds(); }; self.releaseAll = function() { diff --git a/web/share/js/kvm/mouse.js b/web/share/js/kvm/mouse.js index 75836b1d..3f81a833 100644 --- a/web/share/js/kvm/mouse.js +++ b/web/share/js/kvm/mouse.js @@ -47,6 +47,7 @@ function Mouse() { self.setState = function(state) { __ok = state.ok; + __updateLeds(); }; var __hoverStream = function() { |