control + click does not open in new window/tab, it will just open in the same window.
It seems to be because the event.metaKey is being checked which according to the jQuery docs maps to the command key on macs and the windows key on windows.
https://api.jquery.com/event.metakey

This means that mac users will most likely have no problems as they use the command key + click to open in new window but windows and linux users use the control key + click.

It only appears to be an issue in jQuery 1.6+. The metaKey was mapped to the control key prior to that.
https://bugs.jquery.com/ticket/11328
https://bugs.jquery.com/ticket/10666

I've attached a patch that simply includes the event.ctrlKey in the check.

CommentFileSizeAuthor
#4 screenshot-1.png98.39 KBezraw
coffee.ctrlKey.patch1.27 KBkyoder
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kyoder created an issue. See original summary.

kyoder’s picture

Issue summary: View changes
kyoder’s picture

Issue summary: View changes
ezraw’s picture

FileSize
98.39 KB

Tested and confirmed this works.

Users can right-click and open the links in new tab/window, and also alternatively use Ctrl+click to open in new tab. Screenshot attached.

ezraw’s picture

Status: Needs review » Reviewed & tested by the community
delacosta456’s picture

hi thanks
Worked for me

michaelmol’s picture

Status: Reviewed & tested by the community » Closed (works as designed)