From be7a837952007b5b268cae746a64ed229b2fb17d Mon Sep 17 00:00:00 2001 From: baldo Date: Mon, 2 May 2016 19:57:57 +0200 Subject: [PATCH] Fix: Revalidate registration form on blur to allow usage of password managers --- js/qvitter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/qvitter.js b/js/qvitter.js index c39832d..e5270f9 100644 --- a/js/qvitter.js +++ b/js/qvitter.js @@ -627,8 +627,8 @@ if(!window.registrationsClosed) { }); - // validate on keyup / paste - $('#popup-register input').on('keyup paste',function(){ + // validate on keyup / paste / blur + $('#popup-register input').on('keyup paste blur',function(){ setTimeout(function () { // defer validation as after paste the content is not immediately available if(validateRegisterForm($('#popup-register')) && !$('#signup-user-nickname-step2').hasClass('nickname-taken')