X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f43bad97b17e376293c0a72e9c1726733fc285fa..ba08b7b1c9b48ce1d0ebde7d259dc777ff98162a:/wolnelektury/static/js/search.js diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js index dc85ddee0..e81024603 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,12 +39,6 @@ var __bind = function (self, fn) { }, - - }); - - $(".search-result .see-more-snippets").click(function() { - $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden'); - }); });