refactoring

This commit is contained in:
Devaev Maxim
2020-12-25 05:09:52 +03:00
parent dd4c797d26
commit 3ae6f3f881
13 changed files with 78 additions and 78 deletions

View File

@@ -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() {