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 10, 2016 at 9:24 am
#240371
Shikkediel
Participant
Not very easy to debug there but you could give this a try instead :
$('.bbp-meta ul.bbp_custom_links_menu li.parent > a').click(function(e) {
$(this).next('.bbp_custom_links_submenu').toggle();
e.preventDefault();
})
.mouseup(function(e) {
e.stopPropagation();
});