@ -64,7 +64,7 @@ export default class StatusContent extends React.PureComponent {
}
}
onMentionClick = ( mention , e ) => {
onMentionClick = ( mention , e ) => {
if ( this . context . router && e . button === 0 ) {
if ( this . context . router && e . button === 0 && ! ( e . ctrlKey || e . metaKey ) ) {
e . preventDefault ( ) ;
e . preventDefault ( ) ;
this . context . router . history . push ( ` /accounts/ ${ mention . get ( 'id' ) } ` ) ;
this . context . router . history . push ( ` /accounts/ ${ mention . get ( 'id' ) } ` ) ;
}
}
@ -73,7 +73,7 @@ export default class StatusContent extends React.PureComponent {
onHashtagClick = ( hashtag , e ) => {
onHashtagClick = ( hashtag , e ) => {
hashtag = hashtag . replace ( /^#/ , '' ) . toLowerCase ( ) ;
hashtag = hashtag . replace ( /^#/ , '' ) . toLowerCase ( ) ;
if ( this . context . router && e . button === 0 ) {
if ( this . context . router && e . button === 0 && ! ( e . ctrlKey || e . metaKey ) ) {
e . preventDefault ( ) ;
e . preventDefault ( ) ;
this . context . router . history . push ( ` /timelines/tag/ ${ hashtag } ` ) ;
this . context . router . history . push ( ` /timelines/tag/ ${ hashtag } ` ) ;
}
}