X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.debug%2Fdebug.js;h=86bc44abf9a6a98fcf310f858db60a8c8de17170;hb=04179d3a5ce90f3f967d0e004fdf68bd45b04541;hp=189363f2361e4f7007ed0065649cc2509d12a506;hpb=3d6d44ee15ef41c59f9f01f8eaba0bb3ecaec235;p=lhc%2Fweb%2Fwiklou.git
diff --git a/resources/src/mediawiki.debug/debug.js b/resources/src/mediawiki.debug/debug.js
index 189363f236..86bc44abf9 100644
--- a/resources/src/mediawiki.debug/debug.js
+++ b/resources/src/mediawiki.debug/debug.js
@@ -91,7 +91,7 @@
// Hide the current pane
if ( requestedPaneId === currentPaneId ) {
// FIXME: Use CSS transition
- // eslint-disable-next-line jquery/no-slide
+ // eslint-disable-next-line no-jquery/no-slide
$currentPane.slideUp( updateHov );
debug.$container.data( 'currentPane', null );
return;
@@ -101,7 +101,7 @@
if ( currentPaneId === undefined || currentPaneId === null ) {
// FIXME: Use CSS transition
- // eslint-disable-next-line jquery/no-slide
+ // eslint-disable-next-line no-jquery/no-slide
$requestedPane.slideDown( updateHov );
} else {
$currentPane.hide();
@@ -298,10 +298,10 @@
$table = $( '
' ).attr( 'id', 'mw-debug-querylist' );
$( '' )
- .append( $( '' ).text( '#' ).css( 'width', '4em' ) )
- .append( $( ' | ' ).text( 'SQL' ) )
- .append( $( ' | ' ).text( 'Time' ).css( 'width', '8em' ) )
- .append( $( ' | ' ).text( 'Call' ).css( 'width', '18em' ) )
+ .append( $( ' | ' ).attr( 'scope', 'col' ).text( '#' ).css( 'width', '4em' ) )
+ .append( $( ' | ' ).attr( 'scope', 'col' ).text( 'SQL' ) )
+ .append( $( ' | ' ).attr( 'scope', 'col' ).text( 'Time' ).css( 'width', '8em' ) )
+ .append( $( ' | ' ).attr( 'scope', 'col' ).text( 'Call' ).css( 'width', '18em' ) )
.appendTo( $table );
for ( i = 0, length = this.data.queries.length; i < length; i += 1 ) {
@@ -352,12 +352,12 @@
$table = $( '' ).appendTo( $unit );
$( '' )
- .html( 'Key | Value | ' )
+ .html( 'Key | Value | ' )
.appendTo( $table );
for ( key in data ) {
$( ' ' )
- .append( $( '' ).text( key ) )
+ .append( $( ' | ' ).attr( 'scope', 'row' ).text( key ) )
.append( $( ' | ' ).text( data[ key ] ) )
.appendTo( $table );
}
| |