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/wol.js | |
parent | e390914c7ee8441088986a9e1e1dcc629c88aab9 (diff) |
refactoring
Diffstat (limited to 'web/share/js/kvm/wol.js')
-rw-r--r-- | web/share/js/kvm/wol.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/wol.js b/web/share/js/kvm/wol.js index 574fc371..4833646c 100644 --- a/web/share/js/kvm/wol.js +++ b/web/share/js/kvm/wol.js @@ -42,7 +42,7 @@ export function WakeOnLan() { self.setState = function(state) { if (state) { - $("wol").classList.toggle("feature-disabled", !state.enabled); + tools.setFeatureEnabled($("wol"), state.enabled); __target = state.target; } wm.switchEnabled($("wol-wakeup-button"), (state && state.enabled)); |