Skip to content

Commit 440bfee

Browse files
committed
Script.js
1 parent 562bb0e commit 440bfee

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

web/script.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ function parseMd() {
1212
aDiv.after(nodes);
1313
insertLinks()
1414
d3.selectAll("code").each(function() { hljs.highlightBlock(this); });
15-
// removeOrigToc()
1615
addToc()
1716
});
1817
}
@@ -24,13 +23,6 @@ function insertLinks() {
2423
})
2524
}
2625

27-
function removeOrigToc() {
28-
headerContents = $('#contents')
29-
contentsList = headerContents.next()
30-
headerContents.remove()
31-
contentsList.remove()
32-
}
33-
3426
function addToc() {
3527
headerMain = $('#main')
3628
nodes = $.parseHTML(TOC)

0 commit comments

Comments
 (0)