summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/hid.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/hid.js')
-rw-r--r--web/share/js/kvm/hid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js
index bb00d4a7..abda40c5 100644
--- a/web/share/js/kvm/hid.js
+++ b/web/share/js/kvm/hid.js
@@ -231,7 +231,7 @@ export function Hid() {
var __clickOutputsRadio = function(hid) {
let output = tools.radioGetValue(`hid-outputs-${hid}-radio`);
- let http = tools.makeRequest("POST", `/api/hid/${hid}/set_params?output=${output}`, function() {
+ let http = tools.makeRequest("POST", `/api/hid/set_params?${hid}_output=${output}`, function() {
if (http.readyState === 4) {
if (http.status !== 200) {
wm.error("Can't configure HID:<br>", http.responseText);