mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Use new onkeydown / onkeyup.
This commit is contained in:
@@ -435,11 +435,11 @@ GuacamoleUI.attach = function(guac) {
|
||||
GuacamoleUI.clipboard.value = data;
|
||||
};
|
||||
|
||||
GuacamoleUI.keyboard.onkeypress = function(keysym) {
|
||||
GuacamoleUI.keyboard.onkeydown = function(keysym) {
|
||||
guac.sendKeyEvent(1, keysym);
|
||||
};
|
||||
|
||||
GuacamoleUI.keyboard.onkeyrelease = function(keysym) {
|
||||
GuacamoleUI.keyboard.onkeyup = function(keysym) {
|
||||
guac.sendKeyEvent(0, keysym);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user