mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
added the ability to click the logo to go to the test. closes #7
This commit is contained in:
parent
201f38fc7d
commit
be30c91cec
1 changed files with 4 additions and 0 deletions
|
@ -731,6 +731,10 @@ function updateAccountLoginButton() {
|
|||
}
|
||||
}
|
||||
|
||||
$(document).on("click", "#top .logo", (e) => {
|
||||
changePage('test');
|
||||
});
|
||||
|
||||
$(document).on("click", "#top .config .wordCount .button", (e) => {
|
||||
wrd = e.currentTarget.innerHTML;
|
||||
changeWordCount(wrd);
|
||||
|
|
Loading…
Reference in a new issue