all-in-one/php/public/domain-prefill.js
Simon L. 46b6992b52 pre-fill the domain
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-05-15 18:09:01 +02:00

7 lines
208 B
JavaScript

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