summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/wol.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/wol.js')
-rw-r--r--web/share/js/kvm/wol.js2
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() {