various fixes
This commit is contained in:
parent
93a5bfd392
commit
df82ca27d1
3 changed files with 4 additions and 6 deletions
|
@ -78,6 +78,8 @@ class Direct extends Guild {
|
|||
return ddiv;
|
||||
}
|
||||
noChannel(addstate: boolean) {
|
||||
const ghostMessages = document.getElementById("ghostMessages");
|
||||
if (ghostMessages) ghostMessages.innerHTML = "";
|
||||
if (addstate) {
|
||||
history.pushState([this.id, undefined], "", "/channels/" + this.id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue