0
0
Fork 0

Fix #8264 - Do not override ctrl/cmd+click. (#8265)

This includes clicks on hashtags, mentions, display names and media in the
timeline; and usernames in reply-indicator, detailed status, and the boost
modal.
This commit is contained in:
M Somerville 2018-08-18 11:50:32 +01:00 committed by Eugen Rochko
parent 85bb32c410
commit 298ee84488
6 changed files with 7 additions and 7 deletions

View file

@ -50,7 +50,7 @@ class Item extends React.PureComponent {
handleClick = (e) => {
const { index, onClick } = this.props;
if (e.button === 0) {
if (e.button === 0 && !(e.ctrlKey || e.metaKey)) {
e.preventDefault();
onClick(index);
}