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

@@ -59,7 +59,7 @@ export function Atx() {
$("atx-hdd-led").className = "led-gray";
}
for (let id of ["atx-power-button", "atx-power-button-long", "atx-reset-button"]) {
wm.switchEnabled($(id), buttons_enabled);
wm.setElementEnabled($(id), buttons_enabled);
}
};