mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-08 14:52:54 -04:00
toc js update
This commit is contained in:
parent
c2827a1522
commit
6835d16b44
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@
|
|||
}
|
||||
|
||||
function activateIfVisible() {
|
||||
for (b = true, i = 0; i < tocItems.length; i++) {
|
||||
let b = true;
|
||||
for (let i = 0; i < tocItems.length; i++) {
|
||||
if (b && isVisible(i)) {
|
||||
tocItems[i].classList.add('is-active');
|
||||
b = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue