mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +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
|
//Update UI
|
||||||
searchResults.style.display
|
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;
|
return;
|
||||||
|
|
||||||
// Perform the search on the server
|
// Perform the search on the server
|
||||||
|
Reference in New Issue
Block a user