diff options
author | LarsVomMars | 2021-01-27 15:19:37 +0100 |
---|---|---|
committer | LarsVomMars | 2021-01-27 15:19:43 +0100 |
commit | 637161b0a4a18dab689c31ec32896a0884400a66 (patch) | |
tree | 0b19702be60147294337bcf5fcce984fa85672a7 /profile | |
parent | 183741dc09d7b50ff49f001703ae1f4be8553aa2 (diff) |
Minor fixibus
Diffstat (limited to 'profile')
-rw-r--r-- | profile/public/user.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/profile/public/user.js b/profile/public/user.js index ba6952e..b0eb768 100644 --- a/profile/public/user.js +++ b/profile/public/user.js @@ -18,6 +18,7 @@ function addUser(userData) { } const h1 = document.createElement("h1"); h1.textContent = `${user.name} ${user.middlename || ""} ${user.surname}`; + document.querySelector("title").textContent = h1.textContent; h1.addEventListener("click", (evt) => { const qDivs = evt.target.parentElement.querySelectorAll("div"); qDivs.forEach( |