X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/faef1a564460905fd4c78953bf2f7023b5a94fc7..f88f26e37b7f97e31ff75742eecd21d7f3fe4f16:/wolnelektury/static/js/search.js diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js index e96929ef3..6afc4a399 100644 --- a/wolnelektury/static/js/search.js +++ b/wolnelektury/static/js/search.js @@ -29,7 +29,8 @@ var __bind = function (self, fn) { render_item: function (ul, item) { return $("
").data('item.autocomplete', item) - .append(''+item.label+ ' ('+item.category+')') + .append(''+item.label+''+ + ''+item.category+'') .appendTo(ul); }, @@ -38,15 +39,6 @@ var __bind = function (self, fn) { }, - - }); - - $(function() { - $("#search").search(); - - $(".search-result .see-more-snippets").click(function() { - $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden'); - }); });