mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	Merge pull request #662 from ericcornelissen/fix-querystring-check
Fix search activation when no query is present
This commit is contained in:
		
						commit
						ddf20ecf76
					
				| @ -653,7 +653,7 @@ | ||||
|             document.addEventListener('DOMContentLoaded', function() { | ||||
|                 // Load search query if present | ||||
|                 var query = getUrlParameter(queryParameter); | ||||
|                 if (query !== null) { | ||||
|                 if (query) { | ||||
|                     $search.classList.add('search--active'); | ||||
|                     $searchInput.value = query; | ||||
|                     search(query); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user