Fix: Revalidate registration form on blur to allow usage of password managers
This commit is contained in:
parent
4ae1cb69d0
commit
be7a837952
|
@ -627,8 +627,8 @@ if(!window.registrationsClosed) {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// validate on keyup / paste
|
// validate on keyup / paste / blur
|
||||||
$('#popup-register input').on('keyup paste',function(){
|
$('#popup-register input').on('keyup paste blur',function(){
|
||||||
setTimeout(function () { // defer validation as after paste the content is not immediately available
|
setTimeout(function () { // defer validation as after paste the content is not immediately available
|
||||||
if(validateRegisterForm($('#popup-register'))
|
if(validateRegisterForm($('#popup-register'))
|
||||||
&& !$('#signup-user-nickname-step2').hasClass('nickname-taken')
|
&& !$('#signup-user-nickname-step2').hasClass('nickname-taken')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user