mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-26 00:36:49 +01:00
Merge pull request #80 from dillonzq/fix/toc_script
fix(toc): fix toc script bug
This commit is contained in:
commit
16320fa91b
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
2
static/js/theme.min.js
vendored
2
static/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue