capital-framework icon indicating copy to clipboard operation
capital-framework copied to clipboard

Make command-click on table row and on link in table row

Open anselmbradford opened this issue 8 years ago • 0 comments

(Moved from https://github.com/cfpb/cfgov-refresh/issues/819)

current-jobs-ie

In the simple table row links above holding down the command key and clicking the title (which is a link), the job opens in a new tab. When holding down the command key and clicking elsewhere on the row (closing date or location), the job opens in the same window.

Ideally the behavior when holding down the command key would be consistent across the entire row.

To emulate the same behavior the JS likely needs to listen for a keypress event and track whether the command key was pressed and then open in a new tab if it was.

anselmbradford avatar Apr 18 '18 21:04 anselmbradford