From c3e73c1e155b38d467e5945b031fd235e0e2a47c Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Mon, 6 Oct 2014 08:04:37 -0500 Subject: [PATCH] fix for #2 - spacebar not working during password entry. needs testing. --- themes/antergos/js/greeter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/antergos/js/greeter.js b/themes/antergos/js/greeter.js index 6506b2a..730f01d 100644 --- a/themes/antergos/js/greeter.js +++ b/themes/antergos/js/greeter.js @@ -139,7 +139,7 @@ function checkKey(event){ log(action); break; case 32: - action = !users_shown ? show_users() : 0; + action = !users_shown && !auth_pending ? show_users() : 0; log(action); break; default: @@ -241,6 +241,7 @@ function cancelAuthentication() { $('.list-group-item.hovered').removeClass('hovered').siblings().show(); $('.fa-toggle-down').show(); selectedUser = null; + auth_pending = false; } return true; }