diff options
Diffstat (limited to 'src/routes/(static)/support')
| -rw-r--r-- | src/routes/(static)/support/+page.svelte | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/routes/(static)/support/+page.svelte b/src/routes/(static)/support/+page.svelte index 7a2b05a5..c82a6cf9 100644 --- a/src/routes/(static)/support/+page.svelte +++ b/src/routes/(static)/support/+page.svelte @@ -27,7 +27,7 @@ } }); - let submit = (e) => { + let submit = (e: any) => { e.preventDefault(); if (isTor) { post("/post/email", { @@ -58,7 +58,7 @@ if (!browser) return; const nodeBadge = document.querySelector(".grecaptcha-badge"); if (nodeBadge) { - document.body.removeChild(nodeBadge.parentNode); + document.body.removeChild(nodeBadge.parentNode!); } const scriptSelector = @@ -119,7 +119,6 @@ > <textarea rows={5} - type="text" name="message" bind:value={message} required |
