Django 1.6 and some cleaning.
[wolnelektury.git] / apps / wolnelektury_core / static / js / book.js
index 335fe39..72d8174 100644 (file)
@@ -19,6 +19,9 @@ $(function() {
     if ($('#toc li').length == 0) {
         $('#menu li a[href="#toc"]').remove();
     }
+    if ($('#themes li').length == 0) {
+        $('#menu li a[href="#themes"]').remove();
+    }
     if ($('#nota_red').length == 0) {
         $('#menu li a[href="#nota_red"]').remove();
     }