fixes #814: 404 when no html
[wolnelektury.git] / wolnelektury / static / js / catalogue.js
index 4b09de8..cb31654 100644 (file)
@@ -479,6 +479,12 @@ function serverTime() {
                 })
             } 
         );
+        
+        $('.book-list-index').click(function(){
+            $('.book-list-show-index').hide('slow');
+            $(this).parent().next('ul').toggle('slow');
+            return false;
+        });
 
     });
 })(jQuery)