aboutsummaryrefslogtreecommitdiff
path: root/views/script/menu_global.js
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-07-10 16:03:26 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-07-10 16:03:26 +0200
commitc3b756f987ffd8ca981c1e6f23435c74aad36aea (patch)
treebe6b4923dd4a3bbfc147e29421873028c39c9af3 /views/script/menu_global.js
parentb9e7ec33542bb8041857eb997d17b29ffeae40c8 (diff)
downloadkartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.tar.gz
kartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.tar.bz2
kartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.zip
Fixes
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")) {