`; } else if (body.classList.contains("beach-bar") && body.classList.contains("en")) { widgetHTML = `
`; } else if (body.classList.contains("beach-bar") && body.classList.contains("de")) { widgetHTML = `
`; } if (widgetHTML) { const tempContainer = document.createElement("div"); tempContainer.innerHTML = widgetHTML.trim(); // Dodaj każdy element osobno, by skrypt był wykonany while (tempContainer.firstChild) { document.body.appendChild(tempContainer.firstChild); } } });