some js lint

This commit is contained in:
Victor Feyens 2021-04-28 12:11:41 +02:00
parent e128874cef
commit 90b92138c7

View File

@ -41,7 +41,7 @@ const _prepareAccordion = (tocElement) => {
const tocRoot = tocElement.querySelector('ul'); const tocRoot = tocElement.querySelector('ul');
tocRoot.querySelectorAll('ul').forEach(tocEntryList => { tocRoot.querySelectorAll('ul').forEach(tocEntryList => {
// Modify the <ul> element // Modify the <ul> element
tocEntryList.id = `o_target_${tocEntryListId++}` tocEntryList.id = `o_target_${tocEntryListId++}`;
tocEntryList.classList.add('collapse'); tocEntryList.classList.add('collapse');
// Create and configure an <i> element // Create and configure an <i> element
const arrowButton = document.createElement('I'); const arrowButton = document.createElement('I');