mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	Update the icon state as well if the search box is emptied
This commit is contained in:
		
							parent
							
								
									366bc21c5c
								
							
						
					
					
						commit
						b5df43cfbf
					
				| @ -538,10 +538,10 @@ | ||||
|                 var value = e.target.value; | ||||
|                 if (value) { | ||||
|                     $search.classList.add('search--active'); | ||||
|                     search(value); | ||||
|                 } else { | ||||
|                     $search.classList.remove('search--active'); | ||||
|                 } | ||||
|                 search(value); | ||||
|             }, 250), false); | ||||
|             $searchClose.addEventListener('click', function(e) { | ||||
|                 e.stopPropagation(); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user