From 8c096dff11c1bce3ac7f23efb192b4dda2930925 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 9 Jun 2014 22:15:43 +0200 Subject: [PATCH] Vector: Update comments in vector.js Change-Id: Ife1364c6f3c7d2dfde2275287e2f85d10c19c526 --- skins/vector/vector.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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' ), -- 2.20.1