2 * Vector-specific scripts
4 jQuery( function( $ ) {
5 var $pCactions = $( '#p-cactions' );
6 $pCactions.find( 'h5 a' )
7 // For accessibility, show the menu when the hidden link in the menu is clicked (bug 24298)
8 .click( function( e ) {
9 $pCactions.find( '.menu' ).toggleClass( 'menuForceShow' );
12 // When the hidden link has focus, also set a class that will change the arrow icon
14 $pCactions.addClass( 'vectorMenuFocus' );
17 $pCactions.removeClass( 'vectorMenuFocus' );