From a3dc181e76201c9d6cb0661efdc3fd1602d1231a Mon Sep 17 00:00:00 2001 From: Jakub Brzegowski Date: Mon, 17 Jan 2022 14:49:11 +0100 Subject: [PATCH] Add listener on change for FF manual auto-fill --- src/bundle/Resources/public/js/scripts/login.js | 2 ++ 1 file changed, 2 insertions(+) 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();