diff --git a/src/wp-admin/js/user-profile.js b/src/wp-admin/js/user-profile.js index cf01199b5d..8a128dfe8f 100644 --- a/src/wp-admin/js/user-profile.js +++ b/src/wp-admin/js/user-profile.js @@ -16,7 +16,7 @@ pw_weak = $('.pw-weak') ; - generatePassword = function() { + var generatePassword = function() { pw_field.val( pw_field.data( 'pw' ) ); pw_field.trigger( 'propertychange' ); pw_field.attr( 'type', 'text' ).focus();