mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
fixed "go to page" commands not working
This commit is contained in:
parent
6fe1a31eb1
commit
50ca65a135
1 changed files with 4 additions and 4 deletions
|
|
@ -3133,12 +3133,12 @@ export const defaultCommands: MonkeyTypes.CommandsGroup = {
|
|||
alias: "start begin type test",
|
||||
icon: "fa-keyboard",
|
||||
exec: (): void => {
|
||||
$("#top #menu .text-button.view-start").trigger("click");
|
||||
navigate("/");
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "viewLeaderboards",
|
||||
display: "View Leaderboards Page",
|
||||
display: "View Leaderboards",
|
||||
icon: "fa-crown",
|
||||
exec: (): void => {
|
||||
$("#top #menu .text-button.view-leaderboards").trigger("click");
|
||||
|
|
@ -3149,7 +3149,7 @@ export const defaultCommands: MonkeyTypes.CommandsGroup = {
|
|||
display: "View About Page",
|
||||
icon: "fa-info",
|
||||
exec: (): void => {
|
||||
$("#top #menu .text-button.view-about").trigger("click");
|
||||
navigate("/about");
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -3157,7 +3157,7 @@ export const defaultCommands: MonkeyTypes.CommandsGroup = {
|
|||
display: "View Settings Page",
|
||||
icon: "fa-cog",
|
||||
exec: (): void => {
|
||||
$("#top #menu .text-button.view-settings").trigger("click");
|
||||
navigate("/settings");
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue