mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 06:13:43 +01:00
[Glitch] Do not override ctrl/cmd+click in media gallery
This commit is contained in:
parent
40d04a3209
commit
8183d2ed55
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue