display fixes
[wolnelektury.git] / wolnelektury / static / js / search.js
index e58d372..dc85dde 100644 (file)
@@ -41,9 +41,10 @@ var __bind = function (self, fn) {
 
        });
 
-    $(function() {
-       $("#search input[name=q]").search();
-       
+       $(".search-result .see-more-snippets").click(function() {
+           $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden');
+           });
     });
 
+
 })(jQuery);