diff options
author | Devaev Maxim <[email protected]> | 2018-12-01 12:56:36 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-01 12:56:36 +0300 |
commit | a6d4545bafe750f894654fa3cddbfe15a89e6e6e (patch) | |
tree | 14534ad82d798575904813134f4d2360f9c024b1 /web/js/kvm/atx.js | |
parent | 5f7834724a48f28539a66b481772201f00147b31 (diff) |
focus-based window manager
Diffstat (limited to 'web/js/kvm/atx.js')
-rw-r--r-- | web/js/kvm/atx.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/js/kvm/atx.js b/web/js/kvm/atx.js index d637c742..9ef0c063 100644 --- a/web/js/kvm/atx.js +++ b/web/js/kvm/atx.js @@ -18,9 +18,9 @@ function Atx() { $("atx-power-led").className = (state.leds.power ? "led-green" : "led-gray"); $("atx-hdd-led").className = (state.leds.hdd ? "led-red" : "led-gray"); - $("atx-power-button").disabled = state.busy; - $("atx-power-button-long").disabled = state.busy; - $("atx-reset-button").disabled = state.busy; + ui.switchDisabled($("atx-power-button"), state.busy); + ui.switchDisabled($("atx-power-button-long"), state.busy); + ui.switchDisabled($("atx-reset-button"), state.busy); }; self.clearState = function() { |