Skip to content
Snippets Groups Projects
Commit e4dac981 authored by Jonas Leder's avatar Jonas Leder
Browse files

add console log for sitekey

parent 6f4fd53a
Branches
No related tags found
No related merge requests found
Checking pipeline status
......@@ -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>`;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment