add history state navigation
This commit is contained in:
parent
04f634a708
commit
906f4a51d6
5 changed files with 17 additions and 11 deletions
|
@ -180,7 +180,7 @@ class Group extends Channel{
|
|||
this.guild.prevchannel = this;
|
||||
this.localuser.channelfocus = this;
|
||||
const prom = this.infinite.delete();
|
||||
history.pushState(null, "", "/channels/" + this.guild_id + "/" + this.id);
|
||||
history.pushState([this.guild_id,this.id], "", "/channels/" + this.guild_id + "/" + this.id);
|
||||
this.localuser.pageTitle("@" + this.name);
|
||||
(document.getElementById("channelTopic") as HTMLElement).setAttribute("hidden","");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue