mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Get faster results on search form of sidebar
This commit is contained in:
		@@ -174,9 +174,9 @@ ComunicWeb.components.sideBar.main = {
 | 
			
		||||
			
 | 
			
		||||
			//Update UI
 | 
			
		||||
			searchResults.style.display
 | 
			
		||||
				 = searchInput.value.length < 3 ? "none" : "unset";
 | 
			
		||||
				 = searchInput.value.length < 2 ? "none" : "unset";
 | 
			
		||||
 | 
			
		||||
			if(searchInput.value.length < 3)
 | 
			
		||||
			if(searchInput.value.length < 2)
 | 
			
		||||
				return;
 | 
			
		||||
 | 
			
		||||
			// Perform the search on the server
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user