diff options
Diffstat (limited to 'web/share/js/kvm/atx.js')
-rw-r--r-- | web/share/js/kvm/atx.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/atx.js b/web/share/js/kvm/atx.js index fae7fc9f..7c10a496 100644 --- a/web/share/js/kvm/atx.js +++ b/web/share/js/kvm/atx.js @@ -45,7 +45,7 @@ export function Atx() { self.setState = function(state) { if (state) { - $("atx-dropdown").classList.toggle("feature-disabled", !state.enabled); + tools.setFeatureEnabled($("atx-dropdown"), state.enabled); } $("atx-power-led").className = ((state && state.leds.power) ? "led-green" : "led-gray"); |