summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/keyboard.js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-22 18:41:02 +0300
committerMaxim Devaev <[email protected]>2022-08-22 18:41:02 +0300
commit766e5151788655542d8a9f0bb74889d249c0a016 (patch)
tree55727598a8b25c03e50c929dbbaa905c425f2869 /web/share/js/kvm/keyboard.js
parent7bd690b4db5a2f075c2b13432a983dad8fc86622 (diff)
pikvm/pikvm#375: fixed AltGr handling
Diffstat (limited to 'web/share/js/kvm/keyboard.js')
-rw-r--r--web/share/js/kvm/keyboard.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/web/share/js/kvm/keyboard.js b/web/share/js/kvm/keyboard.js
index 0cdfafda..4b30b2c6 100644
--- a/web/share/js/kvm/keyboard.js
+++ b/web/share/js/kvm/keyboard.js
@@ -35,12 +35,7 @@ export function Keyboard(__recordWsEvent) {
var __keypad = null;
var __init__ = function() {
- let fix_mac_cmd = tools.browser.is_mac;
- if (fix_mac_cmd) {
- tools.info("Keyboard: enabled Fix-Mac-CMD");
- }
-
- __keypad = new Keypad("div#keyboard-window", __sendKey, fix_mac_cmd);
+ __keypad = new Keypad("div#keyboard-window", __sendKey, true);
$("hid-keyboard-led").title = "Keyboard free";