Changeset 34061
- Timestamp:
- 09/11/2015 10:51:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/user-profile.js
r34060 r34061 7 7 $pass1, 8 8 $pass1Text, 9 $pass1Label, 9 10 $pass2, 10 11 $weakRow, … … 117 118 $pass1Text.focus(); 118 119 120 $pass1Label.attr( 'for', 'pass1-text' ); 121 119 122 if ( ! _.isUndefined( $pass1Text[0].setSelectionRange ) ) { 120 123 $pass1Text[0].setSelectionRange( 0, 100 ); … … 136 139 $pass1.focus(); 137 140 141 $pass1Label.attr( 'for', 'pass1' ); 142 138 143 if ( ! _.isUndefined( $pass1[0].setSelectionRange ) ) { 139 144 $pass1[0].setSelectionRange( 0, 100 ); … … 149 154 150 155 $pass1Row = $('.user-pass1-wrap'); 156 $pass1Label = $pass1Row.find('th label'); 157 151 158 // hide this 152 159 $('.user-pass2-wrap').hide();
Note: See TracChangeset
for help on using the changeset viewer.