fix DMs on mobile
This commit is contained in:
parent
f3a24546b0
commit
5fe6355358
1 changed files with 4 additions and 0 deletions
|
@ -163,6 +163,8 @@ class Group extends Channel{
|
||||||
(div as any).myinfo = this;
|
(div as any).myinfo = this;
|
||||||
div.onclick = _=>{
|
div.onclick = _=>{
|
||||||
this.getHTML();
|
this.getHTML();
|
||||||
|
const toggle = document.getElementById("maintoggle") as HTMLInputElement;
|
||||||
|
toggle.checked = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
return div;
|
return div;
|
||||||
|
@ -290,6 +292,8 @@ class Group extends Channel{
|
||||||
div.onclick = _=>{
|
div.onclick = _=>{
|
||||||
this.guild.loadGuild();
|
this.guild.loadGuild();
|
||||||
this.getHTML();
|
this.getHTML();
|
||||||
|
const toggle = document.getElementById("maintoggle") as HTMLInputElement;
|
||||||
|
toggle.checked = true;
|
||||||
};
|
};
|
||||||
}else if(current){
|
}else if(current){
|
||||||
current.remove();
|
current.remove();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue