mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 13:36:22 +05:30
Update toc.generator.js
This commit is contained in:
parent
a80ca28025
commit
863557c235
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ function generateTOC (id) {
|
||||||
div.appendChild(link);
|
div.appendChild(link);
|
||||||
toc.appendChild(div);
|
toc.appendChild(div);
|
||||||
});
|
});
|
||||||
|
documentRef.getElementById('toc-wrapper' + id).classList.add('visible');
|
||||||
documentRef.getElementById('toc-wrapper' + id).style.display = 'inline-block';
|
documentRef.getElementById('toc-wrapper' + id).style.display = 'inline-block';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue