Increase docs search box delay
Increases the delay of the search box to 500ms after key up. I tried adding a three character minimum for setting the delay, but didn't find it very useful. Should close #20095
This commit is contained in:
parent
89c4e3792d
commit
f355747a19
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@
|
|||
$('.do-search').on('click', search);
|
||||
$('.search-input').on('keyup', function() {
|
||||
clearTimeout(keyUpTimeout);
|
||||
keyUpTimeout = setTimeout(search, 100);
|
||||
keyUpTimeout = setTimeout(search, 500);
|
||||
});
|
||||
|
||||
// Push and pop states are used to add search results to the browser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue