diff options
author | Devaev Maxim <[email protected]> | 2020-12-25 05:09:52 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-25 05:09:52 +0300 |
commit | 3ae6f3f881b4a116f962c919af8606ba32d905db (patch) | |
tree | 74e883600db81a12706df1e741b3cfb6b8c9e74b /web/share/js/kvm/wol.js | |
parent | dd4c797d26bdd7107bfb748c1aced677ca083af0 (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 1492d89d..000f842a 100644 --- a/web/share/js/kvm/wol.js +++ b/web/share/js/kvm/wol.js @@ -45,7 +45,7 @@ export function WakeOnLan() { tools.featureSetEnabled($("wol"), state.enabled); __target = state.target; } - wm.switchEnabled($("wol-wakeup-button"), (state && state.enabled)); + wm.setElementEnabled($("wol-wakeup-button"), (state && state.enabled)); }; var __clickWakeupButton = function() { |