mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
add content_toc
This commit is contained in:
parent
1a1d645f8e
commit
a74cd0c88e
@ -125,7 +125,7 @@ function create_page_anchors() {
|
|||||||
.attr('id','content-toc');
|
.attr('id','content-toc');
|
||||||
for (var j = 0; j < headers.length; j++) {
|
for (var j = 0; j < headers.length; j++) {
|
||||||
var li_tag = $('<li></li>').text(headers[j]);
|
var li_tag = $('<li></li>').text(headers[j]);
|
||||||
// li_create_linkage(li_tag, i);
|
li_create_linkage(li_tag, i);
|
||||||
ul_tag.append(li_tag);
|
ul_tag.append(li_tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user