hide account switcher after switching
This commit is contained in:
parent
5148e1b77b
commit
6ac1a4e904
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,6 @@ thisuser.initwebsocket().then(_ => {
|
|||
});
|
||||
{
|
||||
const userinfo = document.getElementById("userinfo");
|
||||
const userdock = document.getElementById("userdock");
|
||||
userinfo.addEventListener("click", function (event) {
|
||||
const table = document.createElement("div");
|
||||
for (const thing of Object.values(users.users)) {
|
||||
|
@ -60,6 +59,7 @@ thisuser.initwebsocket().then(_ => {
|
|||
document.getElementById("loading").classList.remove("loading");
|
||||
console.log("done loading");
|
||||
});
|
||||
userinfo.remove();
|
||||
});
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue