Follow-up r83747, forgot to commit a file
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 12 Mar 2011 20:47:52 +0000 (20:47 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 12 Mar 2011 20:47:52 +0000 (20:47 +0000)
resources/mediawiki/mediawiki.htmlform.js

index 4692e9e..0b8cf83 100644 (file)
@@ -38,6 +38,7 @@ $( function() {
        // 'other' is selected
        $( '.mw-htmlform-select-or-other' ).liveAndTestAtStart( function( instant ) {
                var $other = $( '#' + $(this).attr( 'id' ) + '-other' );
+               $other = $other.add( $other.siblings( 'br' ) );
                if ( $(this).val() == 'other' ) {
                        $other.goIn( instant );
                } else {