diff --git a/src/bundle/Resources/public/js/scripts/login.js b/src/bundle/Resources/public/js/scripts/login.js index 8aa56e1008..95c803f4a8 100644 --- a/src/bundle/Resources/public/js/scripts/login.js +++ b/src/bundle/Resources/public/js/scripts/login.js @@ -31,7 +31,9 @@ if (loginBtn) { nameInput.addEventListener('keyup', toggleLoginBtnState, false); + nameInput.addEventListener('change', toggleLoginBtnState, false); passwordInput.addEventListener('keyup', toggleLoginBtnState, false); + passwordInput.addEventListener('change', toggleLoginBtnState, false); toggleLoginBtnState();