summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/hid.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-03 10:04:06 +0300
committerDevaev Maxim <[email protected]>2020-12-03 10:04:06 +0300
commitb9cf8f974dc126f7760fea9657e407e753ffe7d7 (patch)
tree52b73a562181f7ce09764f489f694d3746e22412 /web/share/js/kvm/hid.js
parentbe6b81af9c338430d018bf544f117d683a555814 (diff)
separate state for hid offline
Diffstat (limited to 'web/share/js/kvm/hid.js')
-rw-r--r--web/share/js/kvm/hid.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js
index 75e77d7d..580a5417 100644
--- a/web/share/js/kvm/hid.js
+++ b/web/share/js/kvm/hid.js
@@ -153,8 +153,8 @@ export function Hid() {
wm.switchEnabled($("hid-mouse-squash-checkbox"), (has_relative_squash && !state.busy));
if (state) {
- __keyboard.setState(state.keyboard);
- __mouse.setState(state.mouse);
+ __keyboard.setState(state.keyboard, state.online, state.busy);
+ __mouse.setState(state.mouse, state.online, state.busy);
}
};