diff options
author | Devaev Maxim <[email protected]> | 2020-07-11 01:58:07 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-11 01:58:07 +0300 |
commit | 01fee4992bdc1a464a68ef10f7faf68bbba05a38 (patch) | |
tree | 0e14050ee044376146f47872d9dd6932b9daa717 /web/share/js/kvm/atx.js | |
parent | e390914c7ee8441088986a9e1e1dcc629c88aab9 (diff) |
refactoring
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"); |