mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +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
|
//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
|
||||||
|
Loading…
Reference in New Issue
Block a user