fixed broadcast

This commit is contained in:
Devaev Maxim
2018-07-17 02:49:06 +03:00
parent 8fc6b85c0e
commit 45bdfd111d
3 changed files with 13 additions and 7 deletions

View File

@@ -12,6 +12,7 @@ var atx = new function() {
};
this.setState = function(state) {
atx.setButtonsBusy(state.busy);
$("atx-power-led").className = (state.leds.power ? "led-on" : "led-off");
$("atx-hdd-led").className = (state.leds.hdd ? "led-hdd-busy" : "led-off");
};