diff --git a/scripts/delayed.js b/scripts/delayed.js index 57fe749..8640d04 100644 --- a/scripts/delayed.js +++ b/scripts/delayed.js @@ -21,12 +21,7 @@ async function injectSocialShareBlock() { wrapper.append(block); section.append(wrapper); - const firstSection = main.querySelector(':scope > div.section'); - if (firstSection) { - firstSection.insertAdjacentElement('afterend', section); - } else { - main.append(section); - } + main.append(section); decorateBlock(block); await loadBlock(block);