mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
pre-fill the domain
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
9347144a19
commit
46b6992b52
2 changed files with 11 additions and 1 deletions
7
php/public/domain-prefill.js
Normal file
7
php/public/domain-prefill.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
document.addEventListener("DOMContentLoaded", function(event) {
|
||||
// domain
|
||||
let domain = document.getElementById("domain_input");
|
||||
if (domain) {
|
||||
domain.value = window.location.host
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue