diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 0f757e3b6d..56452b2039 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -42,7 +42,10 @@ function profile_js ( ) { } - jQuery(document).ready( function() { jQuery('#pass1').keyup( check_pass_strength ) } ); + jQuery(function($) { + $('#pass1').keyup( check_pass_strength ) + $('.color-palette').click(function(){$(this).siblings('input[name=admin_color]').attr('checked', 'checked')}); + } ); $color_info ): ?> -