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:
Zach Skaistis 2021-09-13 09:45:20 -05:00 committed by GitHub
parent 5cd8619cb5
commit 2b334ba381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>