mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Get faster results on search form of sidebar
This commit is contained in:
parent
12ce712263
commit
21cf551fe9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user