X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki%2Fmediawiki.debug.js;h=3c1a668064355b85cf443abeeee6555f613fba29;hb=2231d4e859628fc4d2fb63a7a752ead5b91ffef2;hp=f7210095377904b6d3bfe4197d78192e2cd29897;hpb=266dbe55e8c752654a1041a77063ae5d389c2f75;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki/mediawiki.debug.js b/resources/src/mediawiki/mediawiki.debug.js index f721009537..3c1a668064 100644 --- a/resources/src/mediawiki/mediawiki.debug.js +++ b/resources/src/mediawiki/mediawiki.debug.js @@ -190,9 +190,9 @@ } bitDiv( 'phpversion' ) - .append( $( this.data.phpEngine === 'HHVM' - ? 'HHVM' - : 'PHP' + .append( $( this.data.phpEngine === 'HHVM' ? + 'HHVM' : + 'PHP' ) ) .append( ': ' + this.data.phpVersion ); @@ -231,6 +231,8 @@ /** * Build the console panel + * + * @return {jQuery} Console panel */ buildConsoleTable: function () { var $table, entryTypeText, i, length, entry; @@ -282,9 +284,9 @@ $table = $( '
' ); $( '' ) - .append( $( '#' ).css( 'width', '4em' ) ) + .append( $( '#' ).css( 'width', '4em' ) ) .append( $( 'SQL' ) ) - .append( $( 'Time' ).css( 'width', '8em' ) ) + .append( $( 'Time' ).css( 'width', '8em' ) ) .append( $( 'Call' ).css( 'width', '18em' ) ) .appendTo( $table ); @@ -381,4 +383,8 @@ } }; + $( function () { + debug.init(); + } ); + }( mediaWiki, jQuery ) );