diff --git a/scripts/aem.js b/scripts/aem.js index 99f56f544..03922b145 100644 --- a/scripts/aem.js +++ b/scripts/aem.js @@ -428,7 +428,7 @@ function decorateIcons(element, prefix = '') { * @param {Element} main The container element */ function decorateSections(main) { - main.querySelectorAll(':scope > div').forEach((section) => { + main.querySelectorAll(':scope > div:not([data-section-status])').forEach((section) => { const wrappers = []; let defaultContent = false; [...section.children].forEach((e) => {