From: Krinkle Date: Sun, 8 Jan 2012 00:24:25 +0000 (+0000) Subject: Re-applying change to code from r106516 X-Git-Tag: 1.31.0-rc.0~25438 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=1bbdf1896b26906811ba02b3a98386280a52b424;p=lhc%2Fweb%2Fwiklou.git Re-applying change to code from r106516 * Diff in r106516 didn't show that these changes where made due to new file creation, fixed now. * Follows-up r108339 --- diff --git a/resources/mediawiki.special/mediawiki.special.changeemail.js b/resources/mediawiki.special/mediawiki.special.changeemail.js index 9918698b85..6b4ed81df0 100644 --- a/resources/mediawiki.special/mediawiki.special.changeemail.js +++ b/resources/mediawiki.special/mediawiki.special.changeemail.js @@ -27,9 +27,9 @@ var updateMailValidityLabel = function( mail ) { // Lame tip to let user know if its email is valid. See bug 22449 // Only bind once for 'blur' so that the user can fill it in without errors // After that look at every keypress for direct feedback if it was invalid onblur -$( '#mw-input-wpemailaddress' ).one( 'blur', function() { +$( '#wpNewEmail' ).one( 'blur', function() { if ( $( '#mw-emailaddress-validity' ).length === 0 ) { - $(this).after( '' ); + $(this).after( '' ); } updateMailValidityLabel( $(this).val() ); $(this).keyup( function() {