1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00

userpage: actually sub {username}

This commit is contained in:
Harvey Tindall 2023-09-07 23:40:15 +01:00
parent f5a15905e4
commit 4c20250888
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -621,6 +621,8 @@ document.addEventListener("details-reload", () => {
}
}
messageCard.innerHTML = messageCard.innerHTML.replace(new RegExp("{username}", "g"), details.username);
if (typeof(messageCard) != "undefined" && messageCard != null) {
setBestRowSpan(messageCard, false);
// contactCard.querySelector(".content").classList.add("h-100");