diff options
author | Maxim Devaev <[email protected]> | 2023-10-26 08:28:18 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-10-26 08:28:18 +0300 |
commit | 7bb553110068fa0ae5a5ed230d58322ded385ade (patch) | |
tree | 810c056d9b03aea5b0c3929546b7b4486558297e /web/share/js/kvm/hid.js | |
parent | aec67270205ac9d149c0c71a1891f4942eba477b (diff) |
option to disable jiggler
Diffstat (limited to 'web/share/js/kvm/hid.js')
-rw-r--r-- | web/share/js/kvm/hid.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js index 6d9d8597..c097c81d 100644 --- a/web/share/js/kvm/hid.js +++ b/web/share/js/kvm/hid.js @@ -133,7 +133,8 @@ export function Hid(__getGeometry, __recorder) { let has_relative_squash = false; if (state) { - $("hid-jiggler-switch").checked = !!state.jiggler.enabled; + tools.feature.setEnabled($("hid-jiggler"), state.jiggler.enabled); + $("hid-jiggler-switch").checked = state.jiggler.active; } if (state && state.online) { let keyboard_outputs = state.keyboard.outputs.available; |