Applied patch supplied in bug #28699 to prevent obscuring content when consoless...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 28 Apr 2011 14:58:41 +0000 (14:58 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 28 Apr 2011 14:58:41 +0000 (14:58 +0000)
resources/mediawiki/mediawiki.log.js

index 185028b..c0f8738 100644 (file)
                                                'height': '150px',
                                                'background-color': 'white',
                                                'border-top': 'solid 2px #ADADAD'
-                                       } )
-                                       .appendTo( 'body' );
+                                       } );
+                               $( 'body' )
+                                       .css( 'padding-bottom', '150px' ) // don't hide anything
+                                       .append( $log );
                        }
                        $log.append(
                                $( '<div></div>' )
                                                'border-bottom': 'solid 1px #DDDDDD',
                                                'font-size': 'small',
                                                'font-family': 'monospace',
+                                               'white-space': 'pre-wrap',
                                                'padding': '0.125em 0.25em'
                                        } )
                                        .text( string )
-                                       .append( '<span style="float:right">[' + time + ']</span>' )
+                                       .prepend( '<span style="float:right">[' + time + ']</span>' )
                        );
                }
        };