};
handleAccountClick = (e) => {
- if (e.button === 0) {
+ if (e.button === 0 && !(e.ctrlKey || e.altKey || e.metaKey)) {
e.preventDefault();
this.context.router.history.push(`/accounts/${this.props.status.getIn(['account', 'id'])}`);
}
e.stopPropagation();
}
+ parseClick = (e, destination) => {
+ if (e.button === 0 && !(e.ctrlKey || e.altKey || e.metaKey)) {
+ e.preventDefault();
+ this.context.router.history.push(destination);
+ }
+
+ e.stopPropagation();
+ }
+
handleOpenVideo = (media, startTime) => {
this.props.onOpenVideo(media, startTime);
}
expanded={expanded}
collapsed={false}
onExpandedToggle={onToggleHidden}
+ parseClick={this.parseClick}
/>
<div className='detailed-status__meta'>