summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/atx.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/atx.js')
-rw-r--r--web/share/js/kvm/atx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/atx.js b/web/share/js/kvm/atx.js
index 0614cb95..a521be0d 100644
--- a/web/share/js/kvm/atx.js
+++ b/web/share/js/kvm/atx.js
@@ -59,7 +59,7 @@ export function Atx() {
$("atx-hdd-led").className = "led-gray";
}
for (let id of ["atx-power-button", "atx-power-button-long", "atx-reset-button"]) {
- wm.switchEnabled($(id), buttons_enabled);
+ wm.setElementEnabled($(id), buttons_enabled);
}
};