I've added some JS links to container divs on a WordPress website. This looks for any link within the container class and makes the entire div clickable. It works great except you can't control or command-click the divs in order to open a new tab. They just open in the same tab.
<script type="text/javascript"> jQuery(function($){
$(".entire-div-products-led-sign-link").click(function() {
window.location = $(this).find("a").attr("href");
return false;
});
}); </script>
Can someone help me figure out how to make these links open in a new tab using both the command (mac) and control (windows) keys?