/* global _prepareAccordion */ //see utils.js (function ($) { document.addEventListener('DOMContentLoaded', () => { this.navigationMenu = document.getElementById('o_main_toctree'); // Allow to automatically collapse and expand TOC entries _prepareAccordion(this.navigationMenu); // Allow to respectively highlight and expand the TOC entries and their related TOC // entry list whose page is displayed. _flagActiveTocEntriesAndLists(); // Show hidden menu when the css classes have been properly specified this.navigationMenu.removeAttribute('hidden'); }); /** * Add the relevant classes on the TOC entries (and lists) whose page is displayed. * * TOC entries (
  • elements) that are on the path of the displayed page receive the * `o_active_toc_entry` class, and their related (parent) TOC entry list (