X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/276656dcc680e1a35103d310dea046152ddc3785..dbb6eb3883a5f5e371f4bf7c89e74326feca0fd1:/wolnelektury/static/js/search.js?ds=inline diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js index 5951b8b05..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().labelify({labelledClass: "blur"}); - - $(".search-result .see-more-snippets").click(function() { - $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden'); - }); });