diff --git a/js/customElements/contactMailButton.js b/js/customElements/contactMailButton.js index ce3633993b8764ac3aa59d4e9dfbb021d49eadc7..6045f0f040690e3ba760a277742573139882ff86 100644 --- a/js/customElements/contactMailButton.js +++ b/js/customElements/contactMailButton.js @@ -7,6 +7,7 @@ class contactMailButton extends HTMLElement { async addButton(){ let sitekey = await (await fetch("/API/config.php?name=sitekey")).text(); + console.log(sitekey); this.innerHTML = `E-Mail: <button id="emailButton" class="h-captcha" data-sitekey="${sitekey}" data-callback="onSubmit">laden</button><br>`; } }