FIX: Compatibility with loading slider (#34)

This commit is contained in:
Penar Musaraj 2022-03-25 14:14:15 -04:00 committed by GitHub
parent da0f76b65c
commit 26f4e45dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -155,7 +155,6 @@ export default {
const result = this.buildTOC(Array.from(headings)); const result = this.buildTOC(Array.from(headings));
document.querySelector(".d-toc-main").appendChild(result); document.querySelector(".d-toc-main").appendChild(result);
document.addEventListener("click", this.clickTOC, false); document.addEventListener("click", this.clickTOC, false);
document.body.classList.add("d-toc-timeline-visible");
}, },
clickTOC(e) { clickTOC(e) {