Prevent text input from escape key in Safari

This commit is contained in:
Matt Wahlig 2020-05-15 16:25:38 -05:00
parent 11b48af4f6
commit 9afd4dbce9

View file

@ -829,6 +829,7 @@ $(document).keypress(function(event) {
if (!$("#wordsInput").is(":focus")) return;
if (event["keyCode"] == 13) return;
if (event["keyCode"] == 32) return;
if (event["keyCode"] == 27) return;
//start the test
if (currentInput == "" && inputHistory.length == 0) {
if (firebase.auth().currentUser != null) {