Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty
[wolnelektury.git] / wolnelektury / static / js / search.js
index c41a672..5951b8b 100644 (file)
@@ -42,8 +42,12 @@ var __bind = function (self, fn) {
        });
 
     $(function() {
-       $("#search-area 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);