mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Use new onkeydown / onkeyup.
This commit is contained in:
		| @@ -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