diff --git a/components/Header.js b/components/Header.js index bef733a..7e77b47 100644 --- a/components/Header.js +++ b/components/Header.js @@ -308,14 +308,13 @@ class HeaderComponent extends HTMLElement { api.pfp || "https://betacdn.stibarc.com/pfp/default.png" ); menuprofile.textContent = api.username; - menuprofile.addEventListener("click", () => { - location.href = `/user.html?username=${api.username}`; - }); + menuprofile.setAttribute("href", `/user.html?username=${api.username}`); } else { mypfp.setAttribute( "src", "https://betacdn.stibarc.com/pfp/default.png" ); + menuprofile.setAttribute("href", ""); } }); diff --git a/tv/chat.html b/tv/chat.html index 827a1b2..149d770 100644 --- a/tv/chat.html +++ b/tv/chat.html @@ -9,7 +9,28 @@ - +