Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.changeemail.js |
— | — | @@ -27,9 +27,9 @@ |
28 | 28 | // Lame tip to let user know if its email is valid. See bug 22449 |
29 | 29 | // Only bind once for 'blur' so that the user can fill it in without errors |
30 | 30 | // After that look at every keypress for direct feedback if it was invalid onblur |
31 | | -$( '#mw-input-wpemailaddress' ).one( 'blur', function() { |
| 31 | +$( '#wpNewEmail' ).one( 'blur', function() { |
32 | 32 | if ( $( '#mw-emailaddress-validity' ).length === 0 ) { |
33 | | - $(this).after( '<label for="mw-input-wpemailaddress" id="mw-emailaddress-validity"></label>' ); |
| 33 | + $(this).after( '<label for="wpNewEmail" id="mw-emailaddress-validity"></label>' ); |
34 | 34 | } |
35 | 35 | updateMailValidityLabel( $(this).val() ); |
36 | 36 | $(this).keyup( function() { |