diff options
author | Devaev Maxim <[email protected]> | 2019-04-25 00:18:10 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-25 00:18:10 +0300 |
commit | 73bfd715e3d83b777530252ef06e6fad702dd036 (patch) | |
tree | cfd9b297a7d8883022c65224e1ca2bd04598f971 /web/share/js/kvm/keyboard.js | |
parent | 3d64401b111d863072c74e81e49de68885c0e084 (diff) |
refactoring
Diffstat (limited to 'web/share/js/kvm/keyboard.js')
-rw-r--r-- | web/share/js/kvm/keyboard.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/share/js/kvm/keyboard.js b/web/share/js/kvm/keyboard.js index 23d5665d..1a4563af 100644 --- a/web/share/js/kvm/keyboard.js +++ b/web/share/js/kvm/keyboard.js @@ -81,12 +81,12 @@ function Keyboard() { }; var __updateLeds = function() { - var is_captured = ( + let is_captured = ( $("stream-window").classList.contains("window-active") || $("keyboard-window").classList.contains("window-active") ); - var led = "led-gray"; - var title = "Keyboard free"; + let led = "led-gray"; + let title = "Keyboard free"; if (__ws) { if (__online) { |