Vector: Update comments in vector.js
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 9 Jun 2014 20:15:43 +0000 (22:15 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 9 Jun 2014 20:15:43 +0000 (22:15 +0200)
Change-Id: Ife1364c6f3c7d2dfde2275287e2f85d10c19c526

skins/vector/vector.js

index c603615..7be3535 100644 (file)
@@ -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' ),