Skip to content

Commit

Permalink
search input now auto-focuses when present; resolves issue 54
Browse files Browse the repository at this point in the history
  • Loading branch information
James Rosen committed Sep 16, 2009
1 parent cc72760 commit de2601a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/javascripts/application.js
Expand Up @@ -11,4 +11,7 @@ $(document).ready(function() {
$(this).unbind("click");
});
}

// give focus to the search input if it exists:
$("input#query").focus();
});

0 comments on commit de2601a

Please sign in to comment.