generated

This commit is contained in:
forgejo-actions 2024-01-09 21:53:27 +00:00
parent 1691df4e77
commit a9fdbd6b5d
22 changed files with 75 additions and 19 deletions

7
js/index.js Normal file
View file

@ -0,0 +1,7 @@
function toggleTableOfContent(e) {
const toc = document.getElementById('TableOfContents');
toc.classList.toggle("show");
const extend = toc.parentElement.getElementsByClassName("extend")[0];
extend.children[0].classList.toggle("icon-angle-right");
extend.children[0].classList.toggle("icon-angle-left");
}