[IMP] change "visibility: hidden" to "display: none" on page toc

This commit is contained in:
Elisabeth Dickinson 2021-03-24 09:35:07 +01:00
parent c5a28e2351
commit cf7347164d

View File

@ -28,7 +28,7 @@
/** /**
* Entirely hide the local tree of contents. * Entirely hide the local tree of contents.
*/ */
const _hidePageToc = () => this.pageToc.style.visibility = 'hidden'; const _hidePageToc = () => this.pageToc.style.display = 'none';
/** /**
* Add the relevant classes on the TOC entries (and lists) whose section is focused. * Add the relevant classes on the TOC entries (and lists) whose section is focused.