add console log for sitekey
This commit is contained in:
parent
6f4fd53a19
commit
e4dac98119
1 changed files with 1 additions and 0 deletions
|
@ -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>`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue