mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
ignoring tab if the result is still calculating
This commit is contained in:
parent
0a42dee46a
commit
29ee871ef6
1 changed files with 3 additions and 0 deletions
|
@ -4281,6 +4281,9 @@ $(document).keydown((event) => {
|
|||
(event.key == "Tab" && !config.swapEscAndTab) ||
|
||||
(event.key == "Escape" && config.swapEscAndTab)
|
||||
) {
|
||||
if (resultCalculating) {
|
||||
event.preventDefault();
|
||||
}
|
||||
if (
|
||||
!event.ctrlKey &&
|
||||
config.quickTab &&
|
||||
|
|
Loading…
Reference in a new issue