summaryrefslogtreecommitdiff
path: root/web/share/js/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm')
-rw-r--r--web/share/js/kvm/keyboard.js1
-rw-r--r--web/share/js/kvm/mouse.js1
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() {