mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	Focus the search input on load (#3572)
Focus the search input on load, if JavaScript is enabled.
This commit is contained in:
		
							parent
							
								
									8fe7a705c3
								
							
						
					
					
						commit
						37222f7679
					
				| @ -17,6 +17,7 @@ | ||||
|   // Remove the "disabled" attribute from the search input
 | ||||
|   $searchInput.setAttribute('title', 'Search Simple Icons'); | ||||
|   $searchInput.removeAttribute('disabled'); | ||||
|   $searchInput.focus(); | ||||
| 
 | ||||
|   // include a modified debounce underscorejs helper function.
 | ||||
|   // see
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user