Use new onkeydown / onkeyup.
This commit is contained in:
1 parent
ae06e08a31
commit
e4b82bee3a
1 file changed
+2
-2
@@ -435,11 +435,11 @@ GuacamoleUI.attach = function(guac) {
|
|||||||
GuacamoleUI.clipboard.value = data;
|
GuacamoleUI.clipboard.value = data;
|
||||||
};
|
};
|
||||||
|
|
||||||
GuacamoleUI.keyboard.onkeypress = function(keysym) {
|
GuacamoleUI.keyboard.onkeydown = function(keysym) {
|
||||||
guac.sendKeyEvent(1, keysym);
|
guac.sendKeyEvent(1, keysym);
|
||||||
};
|
};
|
||||||
|
|
||||||
GuacamoleUI.keyboard.onkeyrelease = function(keysym) {
|
GuacamoleUI.keyboard.onkeyup = function(keysym) {
|
||||||
guac.sendKeyEvent(0, keysym);
|
guac.sendKeyEvent(0, keysym);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user