diff --git a/src/webpage/guild.ts b/src/webpage/guild.ts index a861252..56c6e4d 100644 --- a/src/webpage/guild.ts +++ b/src/webpage/guild.ts @@ -198,6 +198,14 @@ class Guild extends SnowFlake { welcomeScreen?: welcomeScreen; static readonly contextmenu = new Contextmenu("guild menu"); static setupcontextmenu() { + Guild.contextmenu.addButton( + () => I18n.guild.markRead(), + function (this: Guild) { + this.markAsRead(); + }, + ); + Guild.contextmenu.addSeperator(); + Guild.contextmenu.addButton( () => I18n.guild.makeInvite(), function (this: Guild) { @@ -212,14 +220,6 @@ class Guild extends SnowFlake { color: "blue", }, ); - Guild.contextmenu.addSeperator(); - - Guild.contextmenu.addButton( - () => I18n.guild.markRead(), - function (this: Guild) { - this.markAsRead(); - }, - ); Guild.contextmenu.addButton( () => I18n.guild.notifications(),