forked from open-webui/open-webui
		
	added focus selector
This commit is contained in:
		
							parent
							
								
									6df2505bf0
								
							
						
					
					
						commit
						7c7e16c382
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -293,6 +293,9 @@
 | 
			
		|||
	};
 | 
			
		||||
 | 
			
		||||
	onMount(() => {
 | 
			
		||||
		const chatInput = document.getElementById('chat-textarea');
 | 
			
		||||
		chatInput?.focus();
 | 
			
		||||
 | 
			
		||||
		const dropZone = document.querySelector('body');
 | 
			
		||||
 | 
			
		||||
		const onDragOver = (e) => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue