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