pre-fill the domain

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-05-15 17:44:30 +02:00
parent 9347144a19
commit 46b6992b52
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,7 @@
document.addEventListener("DOMContentLoaded", function(event) {
// domain
let domain = document.getElementById("domain_input");
if (domain) {
domain.value = window.location.host
}
});