mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-13 15:36:42 +08:00
fixed esc actually stopping requests on slow connections (#1840) by sphhax
* removed spaces from words in csharp * blocked escape command sooner for slower connections * removed deprecated code
This commit is contained in:
parent
5cd8619cb5
commit
2b334ba381
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<script>
|
||||
document.addEventListener("keydown", function (e) {
|
||||
if (e.key == "Escape") e.preventDefault();
|
||||
});
|
||||
</script>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Monkeytype</title>
|
||||
|
|
Loading…
Reference in a new issue