mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: decrease letter count for search to 2 (#10214)
This commit is contained in:
parent
607dbd36d7
commit
9ee1d8c848
@ -98,8 +98,8 @@ function setupSearch() {
|
||||
search.classList.add('hidden');
|
||||
search.classList.remove('has-results');
|
||||
}
|
||||
} else if (searchValue.length > 2) {
|
||||
// search for less than 3 characters can display too much results
|
||||
} else if (searchValue.length >= 2) {
|
||||
// search for less than 2 characters can display too much results
|
||||
search.innerHTML = '';
|
||||
menu.style.display = 'none';
|
||||
if (search.classList.contains('hidden')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user