Commit b58fb807369b4cf8696fcdc916f6326391b1e03a

Authored by Rodrigo Souto
1 parent f4699a8e

[search-improvements] Update search results if search query gets empty

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
public/javascripts/search.js
... ... @@ -43,4 +43,6 @@
43 43 // highlight: true,
44 44 // captureLength: 2
45 45 // });
  46 +
  47 + $("input#search-input").bind('notext', function(){ $('form.search_form').submit() });
46 48 })(jQuery);
... ...