[IMP] fixes page toc dropdown arrows not closing, sets aria-expanded to false
This commit is contained in:
parent
4b9ce8f034
commit
8990eec83f
@ -78,6 +78,9 @@
|
||||
this.pageToc.querySelectorAll('li,ul').forEach(element => {
|
||||
element.classList.remove('o_active_toc_entry', 'show');
|
||||
});
|
||||
this.pageToc.querySelectorAll('i').forEach(element => {
|
||||
element.setAttribute('aria-expanded', 'false');;
|
||||
});
|
||||
};
|
||||
|
||||
const _flagActiveHierarchy = (headingRef) => {
|
||||
|
Loading…
Reference in New Issue
Block a user