Changeset 34063
- Timestamp:
- 09/11/2015 11:22:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-admin/js/user-profile.js
r33980 r34063 7 7 $pass1, 8 8 $pass1Text, 9 $pass1Label, 9 10 10 11 $pass2, … … 108 109 $pass1Text.focus(); 109 110 111 $pass1Label.attr( 'for', 'pass1-text' ); 112 110 113 if ( ! _.isUndefined( $pass1Text[0].setSelectionRange ) ) { 111 114 $pass1Text[0].setSelectionRange( 0, 100 ); … … 127 130 $pass1.focus(); 128 131 132 $pass1Label.attr( 'for', 'pass1' ); 133 129 134 if ( ! _.isUndefined( $pass1[0].setSelectionRange ) ) { 130 135 $pass1[0].setSelectionRange( 0, 100 ); … … 140 145 141 146 $pass1Row = $('.user-pass1-wrap'); 147 $pass1Label = $pass1Row.find('th label').attr( 'for', 'pass1-text' ); 148 142 149 // hide this 143 150 $('.user-pass2-wrap').hide();
Note: See TracChangeset
for help on using the changeset viewer.