Merge "Fix tabindex applied twice on RC top section"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 16 Oct 2017 22:06:59 +0000 (22:06 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 16 Oct 2017 22:06:59 +0000 (22:06 +0000)
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.RcTopSectionWidget.js

index ca76046..2c99d3d 100644 (file)
@@ -48,7 +48,8 @@
                                widget.switchTopLinks( 'collapsed' );
                        } );
 
-               this.$topLinks.find( '.mw-recentchanges-toplinks-title' ).replaceWith( toplinksTitle.$element );
+               this.$topLinks.find( '.mw-recentchanges-toplinks-title' )
+                       .replaceWith( toplinksTitle.$element.removeAttr( 'tabIndex' ) );
 
                // Create two positions for the toplinks to toggle between
                // in the table (first cell) or up above it