diff options
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) { |