fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Simple carousel on eink.
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
js
/
book_text
/
toc.js
1
(function($){$(function(){
2
3
if ($("#toc a").length > 0) {
4
$("#toc > ol").appendTo($("#heretoc"));
5
}
6
7
if ($('#wltoc li').length > 0) {
8
$('#menu-toc').show();
9
}
10
11
if ($('#wltoc li a').length == 0) {
12
$('#menu li a[href="#wltoc"]').remove();
13
}
14
15
$("#toc").remove();
16
17
})})(jQuery);