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:
westi
2008-03-15 22:57:47 +00:00
parent 04ae1fc75a
commit e65d6369f2
12 changed files with 26 additions and 41 deletions

View File

@@ -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>