Ticket #32886: no-timeout.4.diff
File no-timeout.4.diff, 559 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/js/user-profile.js
diff --git src/wp-admin/js/user-profile.js src/wp-admin/js/user-profile.js index de87bb9..9d28c64 100644
40 40 .addClass( $pass1[0].className ) 41 41 .data( 'pw', $pass1.data( 'pw' ) ) 42 42 .val( $pass1.val() ) 43 .on( 'input', function () { 43 .on( 'input propertychange', function () { 44 if ( $pass1Text.val() === currentPass ) { 45 return; 46 } 47 48 currentPass = $pass1Text.val(); 44 49 $pass1.val( $pass1Text.val() ).trigger( 'propertychange' ); 45 50 } ); 46 51