From dfa499eb707e07aa8bc068f2071723711d6c25fe Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 15 Jul 2020 02:15:21 +0100 Subject: [PATCH] ignoring context menu --- public/js/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/script.js b/public/js/script.js index c3dcf1369..5c3a2bd03 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -2375,6 +2375,7 @@ $(document).keypress(function (event) { if (event["keyCode"] == 32) return; if (event["keyCode"] == 27) return; if (event["keyCode"] == 93) return; + if (event.key == "ContextMenu") return; //start the test if (currentInput == "" && inputHistory.length == 0 && !testActive) { try {