Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions assets/css/checkout.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion assets/js/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@
this.password_strength_checker = new window.WU_PasswordStrength({
pass1: pass1_el,
result: jQuery('#pass-strength-result'),
minStrength: 3,
onValidityChange(isValid) {

that.valid_password = isValid;
Expand Down Expand Up @@ -1078,6 +1077,11 @@
// Setup inline login handlers if prompt is visible
this.setup_inline_login_handlers();

// Re-initialize password strength if field appeared after mount
if (! this.password_strength_checker && jQuery('#field-password').length) {
this.init_password_strength();
}

});

},
Expand Down
Loading
Loading