From: Bartosz DziewoƄski Date: Mon, 9 Jun 2014 20:15:43 +0000 (+0200) Subject: Vector: Update comments in vector.js X-Git-Tag: 1.31.0-rc.0~15422^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=8c096dff11c1bce3ac7f23efb192b4dda2930925;p=lhc%2Fweb%2Fwiklou.git Vector: Update comments in vector.js Change-Id: Ife1364c6f3c7d2dfde2275287e2f85d10c19c526 --- diff --git a/skins/vector/vector.js b/skins/vector/vector.js index c6036158fb..7be353555a 100644 --- a/skins/vector/vector.js +++ b/skins/vector/vector.js @@ -2,8 +2,14 @@ * Vector-specific scripts */ jQuery( function ( $ ) { + /** + * Focus search input at the very end + */ $( '#searchInput' ).attr( 'tabindex', $( document ).lastTabIndex() + 1 ); + /** + * Dropdown menu accessibility + */ $( 'div.vectorMenu' ).each( function () { var $el = $( this ); $el.find( '> h3 > a' ).parent() @@ -33,7 +39,7 @@ jQuery( function ( $ ) { $( '#mw-panel > .portal:first' ).addClass( 'first' ); /** - * Collapsible tabs for Vector + * Collapsible tabs */ var $cactions = $( '#p-cactions' ), $tabContainer = $( '#p-views ul' ),