We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a75c73a commit 09a8126Copy full SHA for 09a8126
webapp/public/js/domjudge.js
@@ -834,6 +834,10 @@ function initializeKeyboardShortcuts() {
834
if (keysCookie != 1 && keysCookie != "") {
835
return;
836
}
837
+ // Do not trigger shortcuts if user is pressing Ctrl/Alt/Option/Meta key.
838
+ if (e.altKey || e.ctrlKey || e.metaKey) {
839
+ return;
840
+ }
841
// Check if the user is not typing in an input field.
842
if (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA') {
843
0 commit comments