diff --git a/src/wp-admin/js/user-profile.js b/src/wp-admin/js/user-profile.js
index f98853c..305be68 100644
a
|
b
|
|
198 | 198 | // Disable the hidden inputs to prevent autofill and submission. |
199 | 199 | $pass1.prop( 'disabled', true ); |
200 | 200 | $pass2.prop( 'disabled', true ); |
201 | | $pass1Text.prop( 'disabled', true ); |
| 201 | if ( 'undefined' !== typeof( $pass1Text ) ) { |
| 202 | $pass1Text.prop( 'disabled', true ); |
| 203 | } |
202 | 204 | |
203 | 205 | $passwordWrapper = $pass1Row.find( '.wp-pwd' ); |
204 | 206 | $generateButton = $pass1Row.find( 'button.wp-generate-pw' ); |