4 ms·
When I Command+Click a link, please do not capture the event and open the link anyways. I want to open in a background tab, don't hijack my actions. This is th
by sergiotapia 12y ago
When I Command+Click a link, please do not capture the event and open the link anyways. I want to open in a background tab, don't hijack my actions.
This is the offending code:
$('body').on('click', '.linker', function (e) {
e.preventDefault;
$(this).html('Redirecting to ' + $(this).data('name') + '...');
window.location.href = $(this).attr('href');
})
- Syrup-tan 12y agoI actually sent the developer an email about this with a patch. I find it quite frustrating when this doesn't work.
- yellowapple 12y agoI can't even comprehend why this would be perceived to be a good idea.
- 0x142857 12y agoWhat was I thinking... fixed this.