We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1b8dc commit 94a777dCopy full SHA for 94a777d
html/js/main.js
@@ -14,17 +14,4 @@ function setup_search_box() {
14
else {
15
sel.removeClass('two-row');
16
}
17
-
18
- /* Focus search box on page load, but remove focus if the user appears
19
- to be trying to scroll the page with keyboard, rather than typing
20
- a search query
21
- */
22
- $('#query').keydown( function(e){
23
- var el = $(this);
24
- if ( el.val().length && ( e.which == 32 || e.which == 40) ) {
25
- return true;
26
- }
27
- if ( e.which == 32 || e.which == 34 || e.which == 40 ) { el.blur() ; }
28
- // key codes: 32: space; 34: pagedown; 40: down arrow
29
- });
30
0 commit comments