diff options
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)); |