Home › Forums › JavaScript › Close menu on click of Options button and outside of container › Reply To: Close menu on click of Options button and outside of container
April 12, 2016 at 10:50 am
#240489
Shikkediel
Participant
Not really, since I am not using that screen reader. I think it’s up to yourself now to figure out which one is the relevant element, then change these two lines to match it :
var options = $(this).closest('ul');
$('.bbp_custom_links_menu').attr('aria-expanded', 'false');