FIX: Compatibility with loading slider (#34)
This commit is contained in:
parent
da0f76b65c
commit
26f4e45dc2
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue