X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3748094efcd5ed3b89408ece388a6e94ea42990c..1ec74acaf19f8e008caa16d50c289a3bf0ae6eb4:/wolnelektury/static/js/search.js?ds=inline diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js index dc85ddee0..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,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'); - }); });