Permalink
Browse files

Decrease search typeahead timeout

  • Loading branch information...
1 parent 33092db commit 0d3ba918751903416c27c9d5056159a0a4d7cd62 @yuvipanda yuvipanda committed Apr 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 assets/www/js/chrome.js
View
@@ -93,11 +93,11 @@ window.chrome = function() {
{
$("#searchParam").blur();
}else{
- // Wait 750ms with no keypress before starting request
+ // Wait 250ms with no keypress before starting request
window.clearTimeout(lastSearchTimeout);
lastSearchTimeout = setTimeout(function() {
window.search.performSearch($("#searchParam").val(), true);
- }, 750);
+ }, 250);
}
});
$("#clearSearch").bind('touchstart', function() {

0 comments on commit 0d3ba91

Please sign in to comment.