fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
js
/
book_text
/
toc.js
diff --git
a/src/wolnelektury/static/js/book_text/toc.js
b/src/wolnelektury/static/js/book_text/toc.js
index
d03bbb9
..
d50edeb
100644
(file)
--- a/
src/wolnelektury/static/js/book_text/toc.js
+++ b/
src/wolnelektury/static/js/book_text/toc.js
@@
-5,11
+5,11
@@
}
if ($('#wltoc li').length > 0) {
- $('
#menu-toc
').show();
+ $('
a[href="#wltoc"]
').show();
}
if ($('#wltoc li a').length == 0) {
- $('
#menu li
a[href="#wltoc"]').remove();
+ $('a[href="#wltoc"]').remove();
}
$("#toc").remove();