Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -47,7 +47,7 @@ function profile_js ( ) {
|
||||
$('.color-palette').click(function(){$(this).siblings('input[name=admin_color]').attr('checked', 'checked')});
|
||||
} );
|
||||
|
||||
addLoadEvent( function() {
|
||||
jQuery(document).ready( function() {
|
||||
jQuery('#pass1,#pass2').attr('autocomplete','off');
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user