Merge pull request #80 from dillonzq/fix/toc_script

fix(toc): fix toc script bug
This commit is contained in:
Dillon
2020-02-18 17:53:26 +08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -147,7 +147,7 @@
initToc() {
const tocContainer = document.getElementById('post-toc');
if (tocContainer !== null) {
const toc = tocContainer.getElementById('TableOfContents');
const toc = document.getElementById('TableOfContents');
if (toc === null) {
tocContainer.parentElement.removeChild(tocContainer);
} else {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long