]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Fix the extra keys
authorSamuel Mannehed <samuel@cendio.se>
Thu, 25 Aug 2016 12:40:21 +0000 (14:40 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Thu, 25 Aug 2016 12:40:21 +0000 (14:40 +0200)
Commit 529c64e1036b622ff971b1a0cd13856837d3a9eb broke this. #shame#

include/ui.js

index be56d5135c195d499f2d3c3a9636210648908514..2684f987e6d74d37698ecb0688f471749d5b825c 100644 (file)
@@ -33,6 +33,7 @@ var UI;
         connSettingsOpen: false,
         clipboardOpen: false,
         keyboardVisible: false,
+       extraKeysVisible: false,
 
         isTouchDevice: false,
         isSafari: false,
@@ -40,10 +41,8 @@ var UI;
         lastKeyboardinput: null,
         defaultKeyboardinputLen: 100,
 
-        shiftDown: false,
-        ctrlDown: false,
-        altDown: false,
-        altGrDown: false,
+        ctrlOn: false,
+        altOn: false,
 
         // Setup rfb object, load settings from browser storage, then call
         // UI.init to setup the UI/menus