mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-26 07:44:01 +08:00
allowing tab navigation on login page
This commit is contained in:
parent
c12579eb4a
commit
4166003f21
1 changed files with 3 additions and 0 deletions
|
@ -615,6 +615,9 @@ function handleTab(event: JQuery.KeyDownEvent, popupVisible: boolean): void {
|
|||
// dont do anything special
|
||||
if (modalVisible) return;
|
||||
|
||||
// dont do anything on login so we can tab betweeen inputs
|
||||
if (ActivePage.get() === "login") return;
|
||||
|
||||
// change page if not on test page
|
||||
if (ActivePage.get() !== "test") {
|
||||
PageController.change("test");
|
||||
|
|
Loading…
Reference in a new issue