mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-708: Do not allow user selection within text input (in case a user presses Ctrl+A, for example).
This commit is contained in:
		| @@ -2244,6 +2244,11 @@ GuacUI.Client.attach = function(guac) { | ||||
|  | ||||
|     }, false); | ||||
|  | ||||
|     // Do not allow event target contents to be selected during input | ||||
|     GuacUI.Client.text_input.target.addEventListener("selectstart", function(e) { | ||||
|         e.preventDefault(); | ||||
|     }, false); | ||||
|  | ||||
|     /* | ||||
|      * Zoom | ||||
|      */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user