From: Roan Kattouw Date: Thu, 3 Mar 2011 18:04:11 +0000 (+0000) Subject: Merge r83152 from 1.17wmf1 to trunk X-Git-Tag: 1.31.0-rc.0~31670 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=8b9af2f36488df02a9110a6098cec678c3b0a523;p=lhc%2Fweb%2Fwiklou.git Merge r83152 from 1.17wmf1 to trunk --- diff --git a/resources/jquery/jquery.placeholder.js b/resources/jquery/jquery.placeholder.js index d4c00e5075..1445738c92 100644 --- a/resources/jquery/jquery.placeholder.js +++ b/resources/jquery/jquery.placeholder.js @@ -33,8 +33,6 @@ $.fn.placeholder = function() { if ( this.value === '' ) { this.value = placeholder; $input.addClass( 'placeholder' ); - } else { - $input.removeClass( 'placeholder' ); } } ) @@ -62,4 +60,4 @@ $.fn.placeholder = function() { }); }; -} )( jQuery ); \ No newline at end of file +} )( jQuery );