thumb_handler.php doesn't seem to extract path_info correctly
[mediawiki.git] / skins / vector / vector.js
blob4427d9a314cc34201075301b70dad50c628b8bba
1 /**
2  * Vector-specific scripts
3  */
4 jQuery( function ( $ ) {
5         $( 'div.vectorMenu' ).each( function () {
6                 var $el = $( this );
7                 $el.find( 'h3:first a:first' )
8                         // For accessibility, show the menu when the hidden link in the menu is clicked (bug 24298)
9                         .click( function ( e ) {
10                                 $el.find( '.menu:first' ).toggleClass( 'menuForceShow' );
11                                 e.preventDefault();
12                         } )
13                         // When the hidden link has focus, also set a class that will change the arrow icon
14                         .focus( function () {
15                                 $el.addClass( 'vectorMenuFocus' );
16                         } )
17                         .blur( function () {
18                                 $el.removeClass( 'vectorMenuFocus' );
19                         } );
20         } );
21 } );