From cf7347164d031910dda992e32959631feff32eed Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Wed, 24 Mar 2021 09:35:07 +0100 Subject: [PATCH] [IMP] change "visibility: hidden" to "display: none" on page toc --- extensions/odoo_theme/static/js/page_toc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/odoo_theme/static/js/page_toc.js b/extensions/odoo_theme/static/js/page_toc.js index c18bc6f0e..e9e07f9ad 100644 --- a/extensions/odoo_theme/static/js/page_toc.js +++ b/extensions/odoo_theme/static/js/page_toc.js @@ -28,7 +28,7 @@ /** * 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.