Skip to content

Commit

Permalink
Search box: do not grab focus, that's impolite.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDuponchelle committed Oct 17, 2016
1 parent 0c094ef commit 8fbd03e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,6 @@ function setupSearchXHR(context) {
local: trie,
});

search_input.focus();

var refresher = debounce(display_urls_for_tokens, 500);

search_input.keyup(function () {
Expand Down Expand Up @@ -363,8 +361,6 @@ function setupSearchInject(context) {
local: trie,
});

search_input.focus();

var refresher = display_urls_for_tokens;

search_input.keyup(function () {
Expand Down

0 comments on commit 8fbd03e

Please sign in to comment.