Skip to content

Commit

Permalink
Use javascript to set the projects count on the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
kolber committed Jan 7, 2010
1 parent 38eeca0 commit de065d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/docs/js/delimit-search.js
Expand Up @@ -5,6 +5,8 @@
*/

$(function() {
// set projects count
$("h3 span.count").html($('.delimit li').length);
// focus input
$('input#keyword-delimit')[0].focus()
// clear input to counter form content caching
Expand Down

0 comments on commit de065d2

Please sign in to comment.