From eeccfec0c960117ba92e4276267d5bf328d5dc23 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 22 May 2024 14:49:24 +0200 Subject: [PATCH] Revert "pre-fill the domain" This reverts commit 46b6992b52a24ea5ef3f2370f1a9a9afff8556d0. Signed-off-by: Simon L --- php/public/domain-prefill.js | 7 ------- php/templates/containers.twig | 5 +---- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 php/public/domain-prefill.js diff --git a/php/public/domain-prefill.js b/php/public/domain-prefill.js deleted file mode 100644 index c81f2231..00000000 --- a/php/public/domain-prefill.js +++ /dev/null @@ -1,7 +0,0 @@ -document.addEventListener("DOMContentLoaded", function(event) { - // domain - let domain = document.getElementById("domain_input"); - if (domain) { - domain.value = window.location.host - } -}); diff --git a/php/templates/containers.twig b/php/templates/containers.twig index bf03801d..8c1acd1a 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -20,9 +20,6 @@ {# Add 2nd tab warning #} - - {# Add domain-prefill #} - {# timezone-prefill #} @@ -106,7 +103,7 @@ Please note: The domain validation is disabled so any domain will be accepted here! Make sure you do not make a typo here as you will not be able to change it afterwards!

{% endif %}
- +