Merge r83152 from 1.17wmf1 to trunk
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 3 Mar 2011 18:04:11 +0000 (18:04 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 3 Mar 2011 18:04:11 +0000 (18:04 +0000)
resources/jquery/jquery.placeholder.js

index d4c00e5..1445738 100644 (file)
@@ -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 );