hide account switcher after switching
This commit is contained in:
parent
5148e1b77b
commit
6ac1a4e904
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,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)){
|
||||
|
@ -69,6 +68,7 @@ thisuser.initwebsocket().then(_=>{
|
|||
console.log("done loading")
|
||||
|
||||
});
|
||||
userinfo.remove();
|
||||
})
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue