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:
Chris Thorn 2015-01-17 16:14:14 -08:00
parent 89c4e3792d
commit f355747a19

View File

@ -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