mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
add content_toc
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ function create_page_anchors() {
|
||||
|
||||
if (i === 2){
|
||||
var ul_tag = $('#content h1')
|
||||
.after(ul)
|
||||
.after('ul')
|
||||
.addClass("content-toc")
|
||||
.attr('id','content-toc');
|
||||
for (var j = 0; j < headers.length; j++) {
|
||||
|
||||
Reference in New Issue
Block a user