X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e32f55e3ef50d9f7d3a291c2388c5220851a9b4..9a5423b58158ae6d970cdd7a3dc25e5559aa374a:/apps/wolnelektury_core/static/js/book.js

diff --git a/apps/wolnelektury_core/static/js/book.js b/apps/wolnelektury_core/static/js/book.js
index 335fe39c0..72d8174fc 100644
--- a/apps/wolnelektury_core/static/js/book.js
+++ b/apps/wolnelektury_core/static/js/book.js
@@ -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();
     }