mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
completed previous commit
This commit is contained in:
parent
f7adbb219d
commit
575810f660
1 changed files with 2 additions and 2 deletions
|
@ -4629,7 +4629,7 @@ $(document).keypress(function (event) {
|
|||
|
||||
$(document).keydown((event) => {
|
||||
keypressStats.duration.current = performance.now();
|
||||
if ($(".pageTest").hasClass("active")) {
|
||||
// if ($(".pageTest").hasClass("active")) {
|
||||
try {
|
||||
if (
|
||||
!config.capsLockBackspace &&
|
||||
|
@ -4640,7 +4640,7 @@ $(document).keydown((event) => {
|
|||
hideCapsWarning();
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
// }
|
||||
});
|
||||
|
||||
$(document).keyup((event) => {
|
||||
|
|
Loading…
Reference in a new issue