X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73ce961f14509aabfa26536f847afd28111029c6..76a5ef1307add0a97470e8927e2b3165a8d95b29:/wolnelektury/static/js/search.js?ds=inline diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js index 47b6665a6..5951b8b05 100644 --- a/wolnelektury/static/js/search.js +++ b/wolnelektury/static/js/search.js @@ -43,6 +43,10 @@ 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'); + }); });