Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#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();
});