Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.

git-svn-id: https://develop.svn.wordpress.org/trunk@7325 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2008-03-15 22:57:47 +00:00
parent 5a72522fb2
commit 2d7ba950bc
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>