I have a Bootstrap modal with a simple button link in it. Right now I am working with the following:
jQuery('#jobPostWarning').find('a').mousedown(function(e) {
if(e.which === 3) {
jQuery(this).find('a').trigger("click");
}
});
The goal here is the make the right click work the same as the left when a user tries to open a new window on the modal link_to button.