diff --git a/system/resources/js/toc.generator.js b/system/resources/js/toc.generator.js index 91bc233..a5f461a 100644 --- a/system/resources/js/toc.generator.js +++ b/system/resources/js/toc.generator.js @@ -52,6 +52,7 @@ function generateTOC (id) { div.appendChild(link); toc.appendChild(div); }); + documentRef.getElementById('toc-wrapper' + id).classList.add('visible'); documentRef.getElementById('toc-wrapper' + id).style.display = 'inline-block'; }