book search - new design - almost ready
[wolnelektury.git] / wolnelektury / static / js / search.js
index e58d372..5951b8b 100644 (file)
@@ -42,8 +42,12 @@ var __bind = function (self, fn) {
        });
 
     $(function() {
-       $("#search input[name=q]").search();
-       
+        $("#search").search().labelify({labelledClass: "blur"});
+
+       $(".search-result .see-more-snippets").click(function() {
+           $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden');
+           });
     });
 
+
 })(jQuery);