]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/user-profile.js
WordPress 4.5
[autoinstalls/wordpress.git] / wp-admin / js / user-profile.js
index 525084483bbe559f14555684d72bcde1763e2924..5ec77bc867683bdfeb79b05be03e20448db95787 100644 (file)
                        $generateButton.show();
                        $passwordWrapper.hide();
 
+                       $weakRow.hide( 0, function () {
+                               $weakCheckbox.removeProp( 'checked' );
+                       } );
+
                        // Disable the inputs when hiding to prevent autofill and submission.
                        $pass1.prop( 'disabled', true );
                        $pass2.prop( 'disabled', true );