fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into funding
[wolnelektury.git]
/
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
335fe39
..
72d8174
100644
(file)
--- 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 ($('#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();
}
if ($('#nota_red').length == 0) {
$('#menu li a[href="#nota_red"]').remove();
}