Skip to content

Commit

Permalink
fix: dont modify tab behavior if a modal is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Feb 28, 2024
1 parent 5147e75 commit a88ba61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/ts/controllers/input-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,8 @@ function handleTab(event: JQuery.KeyDownEvent, popupVisible: boolean): void {
TestLogic.restart({ event });
} else {
//quick tab off
// dont do anything special
if (modalVisible) return;

//only special handlig on the test page
if (ActivePage.get() !== "test") return;
Expand Down

0 comments on commit a88ba61

Please sign in to comment.