mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-1293: Prevent selection of filename text during navigation.
This commit is contained in:
		| @@ -164,6 +164,12 @@ angular.module('client').directive('guacFileBrowser', [function guacFileBrowser( | |||||||
|                     element.addClass('focused'); |                     element.addClass('focused'); | ||||||
|                 }); |                 }); | ||||||
|  |  | ||||||
|  |                 // Prevent text selection during navigation | ||||||
|  |                 element.on('selectstart', function avoidSelect(e) { | ||||||
|  |                     e.preventDefault(); | ||||||
|  |                     e.stopPropagation(); | ||||||
|  |                 }); | ||||||
|  |  | ||||||
|                 return element; |                 return element; | ||||||
|  |  | ||||||
|             }; |             }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user