Merge "add dir='ltr' to non-localized debug toolbar stuff"
authorSiebrand <siebrand@wikimedia.org>
Wed, 19 Sep 2012 01:43:23 +0000 (01:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 19 Sep 2012 01:43:23 +0000 (01:43 +0000)
resources/mediawiki/mediawiki.debug.css
resources/mediawiki/mediawiki.debug.js

index 149e1bf..513cb84 100644 (file)
@@ -1,6 +1,5 @@
 .mw-debug {
        width: 100%;
-       text-align: left;
        background-color: #eee;
        border-top: 1px solid #aaa;
 }
index 1ad1a62..88af3c6 100644 (file)
@@ -96,7 +96,7 @@
                buildHtml: function () {
                        var $container, $bits, panes, id, gitInfo;
 
-                       $container = $( '<div id="mw-debug-toolbar" class="mw-debug"></div>' );
+                       $container = $( '<div id="mw-debug-toolbar" class="mw-debug" lang="en" dir="ltr"></div>' );
 
                        $bits = $( '<div class="mw-debug-bits"></div>' );
 
                                .text( 'Time: ' + this.data.time.toFixed( 5 ) );
 
                        bitDiv( 'memory' )
-                               .text( 'Memory: ' + this.data.memory )
-                               .append( $( '<span title="Peak usage"></span>' ).text( ' (' + this.data.memoryPeak + ')' ) );
-                               
+                               .text( 'Memory: ' + this.data.memory + ' (Peak: ' + this.data.memoryPeak + ')' );
 
                        $bits.appendTo( $container );