diff --git a/frontend/src/ts/elements/commandline-lists.ts b/frontend/src/ts/elements/commandline-lists.ts index 5eff9bd43..5db7905e5 100644 --- a/frontend/src/ts/elements/commandline-lists.ts +++ b/frontend/src/ts/elements/commandline-lists.ts @@ -3177,8 +3177,8 @@ export const defaultCommands: MonkeyTypes.CommandsGroup = { alias: "stats", exec: (): void => { $("#top #menu .text-button.view-account").hasClass("hidden") - ? $("#top #menu .text-button.view-login").trigger("click") - : $("#top #menu .text-button.view-account").trigger("click"); + ? navigate("/login") + : navigate("/account"); }, }, {