fix DMs on mobile
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user