aboutsummaryrefslogtreecommitdiff
path: root/views/script/menu_global.js
diff options
context:
space:
mode:
Diffstat (limited to 'views/script/menu_global.js')
-rw-r--r--views/script/menu_global.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/script/menu_global.js b/views/script/menu_global.js
index 3713591..8561fe3 100644
--- a/views/script/menu_global.js
+++ b/views/script/menu_global.js
@@ -11,6 +11,8 @@ window.addEventListener('load', () => {
$("body").focus();
keysEnabled = true;
$(document).keydown(function(e) {
+ if (loggingIn) { return; }
+
if (keysEnabled) {
if (e.keyCode === 13 || e.keyCode === 88 || e.keyCode === 32) { // enter
if ($(".services").is(":visible")) {